effect-io-ai

Package: effect
Module: References

References.LogToStderr

Context reference for controlling whether built-in console loggers write to stderr.

When to use

Use to configure the runtime reference that controls whether built-in console loggers write to stderr.

Details

The default value is false. When set to true, the built-in default logger and TTY pretty console logger call console.error instead of console.log.

Signature

declare const LogToStderr: Context.Reference<boolean>

Source

Since v4.0.0