git-sync-js / interface / ILogger
Interface: ILogger
interface.ILogger
custom logger to report progress on each step we don't use logger to report error, we throw errors.
Table of contents
Properties
Properties
debug
• debug: (message
: string
, context
: ILoggerContext
) => unknown
Type declaration
▸ (message
, context
): unknown
used to report debug logs
Parameters
Name | Type |
---|---|
message | string |
context | ILoggerContext |
Returns
unknown
Defined in
info
• info: (message
: GitStep
, context
: ILoggerContext
) => unknown
Type declaration
▸ (message
, context
): unknown
used to report progress for human user to read
Parameters
Name | Type |
---|---|
message | GitStep |
context | ILoggerContext |
Returns
unknown
Defined in
warn
• warn: (message
: string
, context
: ILoggerContext
) => unknown
Type declaration
▸ (message
, context
): unknown
used to report failed optional progress
Parameters
Name | Type |
---|---|
message | string |
context | ILoggerContext |
Returns
unknown