Logger
-
class
cee.Logger() The logger used in HOOPS 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
Properties
-
cee.Logger.debug static
debug: (_msg: string) => voidLogs a debug message. Will be shown if debug messages are enabled.
-
cee.Logger.error static
error: anyLogs an error message.
-
cee.Logger.info static
info: (_msg: string) => voidLogs an info message. Will be shown if info messages are enabled.
-
cee.Logger.warn static
warn: anyLogs a warning message.
Methods
-
static cee.Logger.enableDebug() static
enableDebug(enable: boolean?): voidEnables/disables debug log messages.
Debug log messages contain detailed debug information about the client and communication with the server.
Parameters
enable: boolean = trueReturns: void
-
static cee.Logger.enableInfo() static
enableInfo(enable: boolean?): voidEnables/disables info log messages.
Info log messages contain information about the client and communication with the server.
Parameters
enable: boolean = trueReturns: void