struct Crylog::Handlers::TestHandler
- Crylog::Handlers::TestHandler
- Crylog::Handlers::ProcessingLogHandler
- Crylog::Handlers::AbstractLogHandler
- Crylog::Handlers::LogHandler
- Struct
- Value
- Object
Overview
Keeps a record of all messages logged. Most useful for testing.
Used internaly to test Crylog::Handlers::ProcessingLogHandler
and Crylog::Handlers::AbstractLogProcessor
.
Defined in:
handlers/test_handler.crInstance Method Summary
-
#messages : Array(Crylog::Message)
Array of messages handled by
self
. -
#write(message : Crylog::Message) : Nil
Adds message to the array of handled messages.