Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Logging Namespace Reference

Classes

class  ConsoleSink
 Thread-safe logging sink that writes formatted records to the console. More...
class  FileSink
 Thread-safe logging sink that writes formatted records to a file. More...
class  Logger
 Abstract logging interface and static facade. More...
class  NullSink
 A logging sink that silently discards all records. More...

Enumerations

enum class  Mila::Logging::LogLevel {
  Trace , Debug , Info , Warning ,
  Error , Critical , None
}
 Severity levels for log records, ordered from most verbose to most severe. More...

Enumeration Type Documentation

◆ LogLevel

enum class Mila::Logging::LogLevel
exportstrong

Severity levels for log records, ordered from most verbose to most severe.

A sink configured at a given level will emit all records at that level and above. For example, a sink at Warning will emit Warning, Error, and Critical records and discard Trace, Debug, and Info.

Enumerator
Trace 

Very detailed diagnostic information, typically per-operation.

Debug 

Flow-level information useful during development.

Info 

Normal operational milestones (model loaded, server ready).

Warning 

Unexpected conditions that do not prevent continued operation.

Error 

Failures that may allow the application to continue.

Critical 

Severe failures likely to cause process termination.

None 

Special sentinal level indicating no logging; not a valid record level. Always last.