SickGear/lib/js2py/host/console.py

16 lines
217 B
Python
Raw Normal View History

from ..base import *
@Js
def console():
pass
@Js
def log():
print(arguments[0])
console.put('log', log)
console.put('debug', log)
console.put('info', log)
console.put('warn', log)
console.put('error', log)