A simple console object that can be used to print log messages
errors, and warnings.
- Source:
Example
var console = require('vertx/console');
console.log('Hello standard out');
console.warn('Warning standard error');
console.error('Alert! Alert!');
Methods
-
<static> error(msg)
-
Log the msg to STDERR
Parameters:
Name Type Description msg
string The message to log with a warning alert to standard error. - Source:
-
<static> log(msg)
-
Log the msg to STDOUT.
Parameters:
Name Type Description msg
string The message to log to standard out. - Source:
-
<static> warn(msg)
-
Log the msg to STDERR
Parameters:
Name Type Description msg
string The message to log with a warning to standard error. - Source: