Table of Contents

Namespace OptunaSharp.Logging

Classes

LogLevel

Log levels, numerically identical to Python's logging module constants so that optuna.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.Logger that 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] message lines to stderr, mirroring Optuna's create_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.