log

Provides methods for printing user defined messages to test results.

If you are using oxygen.conf.js, log module must be added.

modules: ['web', 'log', 'assert', 'date', 'db', 'email']

debug

Print a DEBUG message.

Parameters:

Name

Type

Description

msg

String

Message to print.

log.debug('debug message')

error

Print an ERROR message.

Parameters:

Name

Type

Description

msg

String

Message to print.

log.error('error message')

info

Print an INFO message.

Parameters:

Name

Type

Description

msg

String

Message to print.

log.info('info message')

warn

Print a WARN message.

Parameters:

Name

Type

Description

msg

String

Message to print.

log.warn('warning message')