Class: shaka.log

A console logging framework which is compiled out for deployment. This is only available when using the uncompiled version.

Members

(static) currentLevel :number

Type:
  • number
Source:

(export, static) Level :number

Log levels.
Type:
  • number
Properties:
Name Value Type Description
NONE 0 number
ERROR 1 number
WARNING 2 number
INFO 3 number
DEBUG 4 number
V1 5 number
V2 6 number
Source:

Methods

(static) alwaysWarn()

Source:

(static) debug()

Source:

(static) error()

Source:

(static) info()

Source:

(export, static) setLevel(level)

Change the log level. Useful for debugging in uncompiled mode.
Parameters:
Name Type Description
level number
Source:

(static) v1()

Source:

(static) v2()

Source:

(static) warning()

Source: