예제 #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)