The API logging facilities. By default, the logging will output to the console.
Methods
-
debug(message)
-
Outputs a debug level message.
Parameters:
Name Type Description message
string The message to output
-
error(message, cause)
-
Outputs an error level message.
Parameters:
Name Type Description message
string The message to output
cause
object The cause of the error
-
info(message)
-
Outputs an info level message.
Parameters:
Name Type Description message
string The message to output
-
warn(message)
-
Outputs a warning level message.
Parameters:
Name Type Description message
string The message to output