-
Notifications
You must be signed in to change notification settings - Fork 0
logging
Kristof degrave edited this page Apr 12, 2017
·
1 revision
The logging namspace contains functionality for logging information to the console.
Indicates if the logging is enabled
Enumeration indecation the severity of the items you want to log. Values:
- information
- warning
- error
- exception
This function enables or disables the logging.
- The first argument accepts a boolean value indicating if logging should be enabled.
This function logs something to the console.
- The first argument accepts the severity
- All following arguments are written to the console.
This functions logs an error to the console
- The first argument accepts an error object.