Contents

class

SushiEngine::Logging::ScopedActiveLogger

Installs a logger as the active one for its own scope, flushing and uninstalling it on every path out, exceptions included.

Declared in
engine/foundation/logging/include/SushiEngine/logging/logger_installation.hpp

Precondition

The referenced logger outlives this guard.

Public Methods

ScopedActiveLogger

Installs logger as the active logger.

~ScopedActiveLogger

Flushes the logger and uninstalls it.

operator=