The console SDK emulates the console class you use in your browser, it allows you to quickly debug your code.
Methods
-
require("ko/console").debug()
-
Alias for mozilla's console.debug.
-
require("ko/console").error()
-
Alias for mozilla's console.error.
-
require("ko/console").exception()
-
Alias for mozilla's console.exception.
-
require("ko/console").info()
-
Alias for mozilla's console.info.
-
require("ko/console").log()
-
Alias for mozilla's console.log.
-
require("ko/console").time()
-
Alias for mozilla's console.time.
-
require("ko/console").timeEnd()
-
Alias for mozilla's console.timeEnd.
-
require("ko/console").trace()
-
Alias for mozilla's console.trace.
-
require("ko/console").warn()
-
Alias for mozilla's console.warn.