Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
ConsoleSink.ixx File Reference

Console-based logging sink for the Mila logging infrastructure. More...

#include <iostream>
#include <string>
#include <source_location>
#include <format>
#include <chrono>
#include <mutex>
#include <ctime>
#include <iomanip>
import Logging.Logger;

Classes

class  Mila::Logging::ConsoleSink
 Thread-safe logging sink that writes formatted records to the console. More...

Namespaces

namespace  Mila
 Mila main API namespace.
namespace  Mila::Logging

Detailed Description

Console-based logging sink for the Mila logging infrastructure.

Provides a thread-safe logger that writes formatted log records to std::cout (Trace through Warning) and std::cerr (Error and Critical). Intended for interactive CLI use and development. For server deployments use FileSink instead, as this sink writes to the process standard streams.