abstract struct Crylog::Handlers::LogHandler
- Crylog::Handlers::LogHandler
- Struct
- Value
- Object
Overview
Base struct of all handlers.
Direct Known Subclasses
Defined in:
handlers/handler.crConstructors
Instance Method Summary
-
#close
Called when the application exits.
Constructor Detail
Instance Method Detail
def close
#
Called when the application exits. Can be used to free up resources used within the handler. Such as closing IOs, finalizing connections, etc.
NOTE Implementations have to be idempotent. Loggers sharing the same instance of a handler would be closed more than once.