module

Autobot::Logging

Constants

LOG_FILENAME = "autobot.log"

Class methods

setup(log_level : Level = Level::Info, log_dir : String | Nil = nil) : Nil

Setup logging backends.

Always enables a colored console backend. If log_dir is given, also writes structured JSON to a file in that directory.

Source

Nested types