Hyperlinkv0.8.0-beta.28

References

References.LogToStderrconsteffect/References.ts:745
Context.Reference<boolean>

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.

references
export const LogToStderr: Context.Reference<boolean> = internalEffect.LogToStderr