Logger
The Logger type describes the optional logging functions a Synclet or its components can use.
{
error?: (string: string) => void;
warn?: (string: string) => void;
info?: (string: string) => void;
debug?: (string: string) => void;
}| Type | Description | |
|---|---|---|
error? | (string: string) => void | The error method logs errors emitted by the synclet stack. |
warn? | (string: string) => void | The warn method logs warning messages. |
info? | (string: string) => void | The info method logs informational messages. |
debug? | (string: string) => void | The debug method logs verbose diagnostic messages. |
Since
v0.0.0