Logger
-
class
cee.Logger() The logger used in CEETRON Envision for Web (EnvisionWeb)
Static class for controlling the log output from EnvisionWeb, and for logging within the client app.
Use the
enableInfofunction to turn on/off info logging from EnvisionWeb.Use the
enableDebugfunction to turn on/off debug logging from EnvisionWeb.These should only be used for debugging and should be disabled in a production environment.
Constructors
Methods
Properties
-
Logger.debug Type: function -
Logger.debug(_msg) Arguments: - _msg (
string) – None
Logs a debug message. Will be shown if debug messages are enabled.
Return type: void - _msg (
-
-
Logger.error Type: any Logs an error message.
-
Logger.info Type: function -
Logger.info(_msg) Arguments: - _msg (
string) – None
Logs an info message. Will be shown if info messages are enabled.
Return type: void - _msg (
-
-
Logger.warn Type: any Logs a warning message.