Skip to content

Documentation / @super-line/core / EnableLoggingOptions

Interface: EnableLoggingOptions ​

Defined in: packages/core/src/log.ts:35

Properties ​

level? ​

optional level?: "trace" | "debug" | "info" | "warning" | "error" | "fatal"

Defined in: packages/core/src/log.ts:37

Lowest level shown for the ['super-line'] category. Default 'debug'.


redact? ​

optional redact?: boolean

Defined in: packages/core/src/log.ts:42

Strip secrets before they reach the console (default true): field-name redaction over the structured properties plus JWT-pattern redaction over the formatted text. Set false only for trusted local runs.

Released under the MIT License.