Ejemplo n.º 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)
Ejemplo n.º 2
0
def log(severity, message):
    caller = inspect.stack()[1][3]
    thread = threading.current_thread()
    utils.log(severity, "U", message, options.debug, caller, thread)
Ejemplo n.º 3
0
def log(severity, message):
    caller = inspect.stack()[1][3]
    thread = threading.current_thread()
    utils.log(severity, "U", message, options.debug, caller, thread)
Ejemplo n.º 4
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)