Exemple #1
0
def app_log(id, text, tag=0, panel=''):
    if type(text) is not str:
        raise ValueError('app_log() parameter "text" must be string')
    if tag != 0:
        print(
            'ERROR: app_log() parameter "tag" has no effect, but %d is given' %
            tag)
    return ct.app_log(id, text, tag, panel)
Exemple #2
0
def app_log(id, text, tag=0):
    return ct.app_log(id, text, tag)
Exemple #3
0
def app_log(id, text, tag=0, panel=''):
    return ct.app_log(id, text, tag, panel)
Exemple #4
0
def app_log(id, text, tag=0):
    return ct.app_log(id, text, tag)
Exemple #5
0
def app_log(id, text, tag=0):
    res = ct.app_log(id, text, tag)
    if id == LOG_CONSOLE_GET:
        return res.splitlines()
    else:
        return res
Exemple #6
0
def app_log(id, text, tag=0, panel=''):
    if type(text) is not str:
        raise ValueError('app_log() parameter "text" must be string')
    return ct.app_log(id, text, tag, panel)
Exemple #7
-1
def app_log(id, text, tag=0):
    res = ct.app_log(id, text, tag)
    if id==LOG_CONSOLE_GET:
        return res.splitlines()
    else:
        return res