Ejemplo n.º 1
0
def log_error(msg):
    print '%s: ERROR: %s' % (__addonname__, utils.normalize_unicode(msg))
Ejemplo n.º 2
0
def log_debug(msg, dbglvl):
    if __debuglevel__ >= int(dbglvl):
        print '%s: DEBUG: %s' % (__addonname__, utils.normalize_unicode(msg))
Ejemplo n.º 3
0
def log_debug(msg, dbglvl):
    if __debuglevel__ >= int(dbglvl):
        print '%s: DEBUG: %s' % (__addonname__, utils.normalize_unicode(msg))
Ejemplo n.º 4
0
def log_error(msg):
    print '%s: ERROR: %s' % (__addonname__, utils.normalize_unicode(msg))