Logger.(constructor)
Constructs a new instance of the Logger class
Signature:
constructor(options?: AsyncLoggerOptions);
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
(Optional) explicit transports and metadata. Omit either half and it is read from |
Exceptions
TypeError if the environment config is not valid JSON, or names a transport type other than file or http
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.