Logger
Defined in: packages/hoppity/src/types.ts:31
Logger interface that provides standard logging methods. This allows for flexible logging implementations while maintaining a consistent API.
Logger
Methods
Section titled “Methods”critical()
Section titled “critical()”critical(
message, …args):void
Defined in: packages/hoppity/src/types.ts:72
Log a critical error message
Parameters
Section titled “Parameters”message
Section titled “message”string
The message to log
…any[]
Additional arguments to log
Returns
Section titled “Returns”void
debug()
Section titled “debug()”debug(
message, …args):void
Defined in: packages/hoppity/src/types.ts:44
Log a debug message
Parameters
Section titled “Parameters”message
Section titled “message”string
The message to log
…any[]
Additional arguments to log
Returns
Section titled “Returns”void
error()
Section titled “error()”error(
message, …args):void
Defined in: packages/hoppity/src/types.ts:65
Log an error message
Parameters
Section titled “Parameters”message
Section titled “message”string
The message to log
…any[]
Additional arguments to log
Returns
Section titled “Returns”void
info()
Section titled “info()”info(
message, …args):void
Defined in: packages/hoppity/src/types.ts:51
Log an info message
Parameters
Section titled “Parameters”message
Section titled “message”string
The message to log
…any[]
Additional arguments to log
Returns
Section titled “Returns”void
silly()
Section titled “silly()”silly(
message, …args):void
Defined in: packages/hoppity/src/types.ts:37
Log a silly message
Parameters
Section titled “Parameters”message
Section titled “message”string
The message to log
…any[]
Additional arguments to log
Returns
Section titled “Returns”void
warn()
Section titled “warn()”warn(
message, …args):void
Defined in: packages/hoppity/src/types.ts:58
Log a warning message
Parameters
Section titled “Parameters”message
Section titled “message”string
The message to log
…any[]
Additional arguments to log
Returns
Section titled “Returns”void