You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/libs/js2py/host/console.py

16 lines
263 B

from ..base import *
@Js
def console():
pass
@Js
def log():
print(" ".join(repr(element) for element in arguments.to_list()))
console.put('log', log)
console.put('debug', log)
console.put('info', log)
console.put('warn', log)
console.put('error', log)