Example #1
0
def devlog(msg):
    """
    If DEBUG is set it will print information directly to stdout
    """
    if CONF.getDebugStatus():
        print "[DEBUG] - %s" % msg
        getLogger().log(msg,"DEBUG")
Example #2
0
def devlog(msg):
    """
    If DEBUG is set it will print information directly to stdout
    """
    if CONF.getDebugStatus():
        print "[DEBUG] - %s" % msg
        getLogger().log(msg, "DEBUG")
Example #3
0
def log(msg ,level = "INFO"):
    """
    This api will log the text in the GUI console without the level
    it will also log to a file with the corresponding level
    if logger was configured that way
    """
    getLogger().log(msg,level)
Example #4
0
def log(msg, level="INFO"):
    """
    This api will log the text in the GUI console without the level
    it will also log to a file with the corresponding level
    if logger was configured that way
    """
    getLogger().log(msg, level)