Index > logging

Namespace: logging

Logging utilities for Grit workflows.

Functions

debug

debug(message, meta?): void

Write a log message with the lowest log level

Parameters

ParameterType
messagestring
meta?any

Returns

void


error

error(message, meta?): void

Write an error log message, the highest log level

Parameters

ParameterType
messagestring
meta?any

Returns

void


info

info(message, meta?): void

Write an informational log message

Parameters

ParameterType
messagestring
meta?any

Returns

void


log

log(entry): void

Parameters

ParameterType
entryLogOptions

Returns

void


warn

warn(message, meta?): void

Write a warning log message

Parameters

ParameterType
messagestring
meta?any

Returns

void

logging

writeLog

writeLog(log): void

Write a log message, which is automatically collected by Grit

Parameters

ParameterType
logLogOptions

Returns

void


Generated using TypeDoc and typedoc-plugin-markdown