Class: shaka.log

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

Source:

Members

(static) currentLevel :number

Type:
  • number
Source:

(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:

(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: