Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Class

ConsoleLoggerProvider

class ConsoleLoggerProvider

Module: Neo.Logging
Assembly: Neo.Logging.dll
Source file: ConsoleLoggerProvider.rvn

Inheritance: Object → ConsoleLoggerProvider
Implements: LoggerProvider

Synchronous console provider with no ambient scope storage or implicit stack capture. Owner-thread use only. The optional callback receives one complete formatted entry.

Constructors

2 items
ConsoleLoggerProvider() Writes entries through Console.WriteLine. The factory supplies severity filtering.
ConsoleLoggerProvider(writeLine: (string) -> ()) Uses a caller-owned synchronous line sink, enabling redirection without changing Logger.

Methods

6 items
Dispose() -> () Disables existing loggers. Does not close the console or the caller's line sink. Implements Disposable.Dispose
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString