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
Parameter | Type |
---|---|
message | string |
meta ? | any |
Returns
void
error
error(
message
,meta
?):void
Write an error log message, the highest log level
Parameters
Parameter | Type |
---|---|
message | string |
meta ? | any |
Returns
void
info
info(
message
,meta
?):void
Write an informational log message
Parameters
Parameter | Type |
---|---|
message | string |
meta ? | any |
Returns
void
log
log(
entry
):void
Parameters
Parameter | Type |
---|---|
entry | LogOptions |
Returns
void
warn
warn(
message
,meta
?):void
Write a warning log message
Parameters
Parameter | Type |
---|---|
message | string |
meta ? | any |
Returns
void
logging
writeLog
writeLog(
log
):void
Write a log message, which is automatically collected by Grit
Parameters
Parameter | Type |
---|---|
log | LogOptions |
Returns
void
Generated using TypeDoc and typedoc-plugin-markdown