Namespace: Logging

Logging

Methods

log(level, …args)

Log the given message to the console if the given log level is less/equal to the current log level.
Parameters:
Name Type Attributes Description
level kMdpsLogLevel the logging level
args any <repeatable>
variable length args
See:
  • Constants.kMdpsLogLevel

setLogLevel(level)

Set the logging level.
Parameters:
Name Type Description
level kMdpsLogLevel the logging level
See:
  • Constants.kMdpsLogLevel