debug( message )
- Description: Log an information.
- Schema: _Logger
- Inherit: _Component
runtime.require('logger').debug('this is a debug message');
error( message )
- Description: Log an error.
- Schema: _Logger
- Inherit: _Component
runtime.require('logger').error('this is an error message');
info( message )
- Description: Log an information.
- Schema: _Logger
- Inherit: _Component
runtime.require('logger').info('this is an info message');
level( levelName )
- Description: Set the level of log. Possible values are: debug, info, warn and error. By default the level is set to warn.
- Schema: _Logger
- Inherit: _Component
runtime.require('logger').level('info');
warn( message )
- Description: Log a warning.
- Schema: _Logger
- Inherit: _Component
runtime.require('logger').warn('this is a warning message');