# 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 `enableInfo` function to turn on/off info logging from EnvisionWeb.

  Use the `enableDebug` function to turn on/off debug logging from EnvisionWeb.

  These should only be used for debugging and should be disabled in a production environment.

Constructors

- `constructor`

Properties

- `debug`
- `error`
- `info`
- `warn`

Methods

- `enableDebug`
- `enableInfo`

## Constructors

`Logger.``constructor`()

  Return type: | Logger

## 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

`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

`Logger.``warn`

  Type: | any

  Logs a warning message.

## Methods

### static enableDebug

`Logger.``enableDebug`(enable)

  Arguments: | enable (`boolean`) – None

  Enables/disables debug log messages.

  Debug log messages contain detailed debug information about the client and communication with the server.

  Return type: | void

### static enableInfo

`Logger.``enableInfo`(enable)

  Arguments: | enable (`boolean`) – None

  Enables/disables info log messages.

  Info log messages contain information about the client and communication with the server.

  Return type: | void

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Envision for Web or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...