This namespace provides access to the logging functionality.
- Since:
- Version 1.0 (API level 1)
Example
mobicontrol.log.info("Hello world!");
Methods
-
async, static error(message)
-
Log an error message. The message is logged to the Deployment server. It appears on the Logs tab of the console and in the event log of the agent.
Parameters:
Name Type Description message
string The error message to be logged. - Since:
- Version 1.0 (API level 1)
-
async, static info(message)
-
Log an information message. The message is logged to the Deployment server. It appears on the Logs tab of the console and in the event log of the agent.
Parameters:
Name Type Description message
string The information message to be logged. - Since:
- Version 1.0 (API level 1)
-
async, static warn(message)
-
Log a warning message. The message is logged to the Deployment server. It appears on the Logs tab of the console and in the event log of the agent.
Parameters:
Name Type Description message
string The warning message to be logged. - Since:
- Version 1.0 (API level 1)