コード例 #1
0
def log(severity, source, message, raw=0, eventid=None):
    caller = inspect.stack()[1][3]
    thread = threading.current_thread()
    utils.log(severity, source, message, options.debug, caller, thread, raw,
              eventid)
コード例 #2
0
ファイル: filter.py プロジェクト: shodanshok/psync
def log(severity, message):
    caller = inspect.stack()[1][3]
    thread = threading.current_thread()
    utils.log(severity, "U", message, options.debug, caller, thread)
コード例 #3
0
ファイル: filter.py プロジェクト: shodanshok/psync
def log(severity, message):
    caller = inspect.stack()[1][3]
    thread = threading.current_thread()
    utils.log(severity, "U", message, options.debug, caller, thread)
コード例 #4
0
ファイル: psync.py プロジェクト: shodanshok/psync
def log(severity, source, message, raw=0, eventid=None):
    caller = inspect.stack()[1][3]
    thread = threading.current_thread()
    utils.log(severity, source, message, options.debug, caller, thread, raw,
              eventid)