Home Reference Source Test
import Logger from 'wpxml2md/src/lib/logger.js'
public class | source

Logger

Display the log message for the stdout.

Constructor Summary

Public Constructor
public

constructor(available: Boolean)

Initialize instance.

Member Summary

Private Members
private

Method Summary

Public Methods
public

error(args: Object[])

Display an error message for the stdout.

public

log(args: Object[])

Display a log message for the stdout.

Public Constructors

public constructor(available: Boolean) source

Initialize instance.

Params:

NameTypeAttributeDescription
available Boolean

"true" to display the report, default is "true".

Private Members

private _available: * source

Public Methods

public error(args: Object[]) source

Display an error message for the stdout.

Params:

NameTypeAttributeDescription
args Object[]

Message arguments.

public log(args: Object[]) source

Display a log message for the stdout.

Params:

NameTypeAttributeDescription
args Object[]

Message arguments.