Namespace OptunaSharp.Logging
Classes
- LogLevel
Log levels, numerically identical to Python's
loggingmodule constants so thatoptuna.logging.set_verbosity(optuna.logging.WARNING)ports 1:1.
- Logger
A named logger routed through the shared OptunaSharp root logger, mirroring the subset of Python's
logging.Loggerthat Optuna uses.
- OptunaLogging
Port of optuna/logging.py — controls the verbosity of OptunaSharp's library-root logger.
- StreamLogHandler
The default handler: writes
[I 2021-10-31 05:35:17,232] messagelines to stderr, mirroring Optuna'screate_default_formatter()(sans colors).
Structs
- LogRecord
A single log record passed to ILogHandler implementations.
Interfaces
- ILogHandler
Receives log records emitted through the Optuna logging seam.