lando.log.debug(msg, [...values])

Logs a debug message.

Kind: global function
Since: 3.0.0

Param Type Description
msg String A string that will be passed into nodes core utils.format()
[...values] Any Values to be passed utils.format()

Example

// Log a debug message
lando.log.debug('All details about docker inspect %j', massiveObject);

lando.log.error(msg, [...values])

Logs an error message.

Kind: global function
Since: 3.0.0

Param Type Description
msg String A string that will be passed into nodes core utils.format()
[...values] Any Values to be passed utils.format()

Example

// Log an error message
lando.log.error('This is an err with details %s', err);

lando.log.info(msg, [...values])

Logs an info message.

Kind: global function
Since: 3.0.0

Param Type Description
msg String A string that will be passed into nodes core utils.format()
[...values] Any Values to be passed utils.format()

Example

// Log an info message
lando.log.info('It is happening!');

lando.log.silly(msg, [...values])

Logs a silly message.

Kind: global function
Since: 3.0.0

Param Type Description
msg String A string that will be passed into nodes core utils.format()
[...values] Any Values to be passed utils.format()

Example

// Log a silly message
lando.log.silly('All details about all the things', unreasonablySizedObject);

// Log a silly message
lando.log.silly('If you are seeing this you have delved too greedily and too deep and likely have awoken something.');

lando.log.verbose(msg, [...values])

Logs a verbose message.

Kind: global function
Since: 3.0.0

Param Type Description
msg String A string that will be passed into nodes core utils.format()
[...values] Any Values to be passed utils.format()

Example

// Log a verbose message
lando.log.verbose('Config file %j loaded from %d', config, directory);

lando.log.warn(msg, [...values])

Logs a warning message.

Kind: global function
Since: 3.0.0

Param Type Description
msg String A string that will be passed into nodes core utils.format()
[...values] Any Values to be passed utils.format()

Example

// Log a warning message
lando.log.warning('Something is up with app %s in directory %s', appName, dir);