* Surface `detail` keyword argument for logging functions. * Document konsole's public API. * Correctly handle corner cases of `detail` being `None`, `set_color()` and `set_level()` calling `init()`. * Cache main logger and directly access flag to eliminate repeated, trivial function calls.