EnvLogger
Defined in: types.ts:25
Minimal structural logger seam — accept any object shaped like this
(including a real @theholocron/observability Logger via a thin
adapter) without this package taking a dependency on it. Defaults to
console.info/console.warn so behavior is unchanged when nothing
is injected.
Methods
Section titled “Methods”info()
Section titled “info()”info(
message,meta?):void
Defined in: types.ts:27
Logs an informational message.
Parameters
Section titled “Parameters”message
Section titled “message”string
unknown
Returns
Section titled “Returns”void
warn()
Section titled “warn()”warn(
message,meta?):void
Defined in: types.ts:29
Logs a warning.
Parameters
Section titled “Parameters”message
Section titled “message”string
unknown
Returns
Section titled “Returns”void