class SessionFileBackend
- SessionFileBackend
- Log::IOBackend
- Log::Backend
- Reference
- Object
Defined in:
protohackers.crConstructors
- .new(session_id : String, file_name : String, mode : String = "a", *, formatter : Log::Formatter = Log::ShortFormat)
- .new(session_id : String, file : File, *, formatter : Log::Formatter = Log::ShortFormat)
Instance Method Summary
-
#close
Closes underlying resources used by this backend.
- #session_id=(session_id : String)
Constructor Detail
def self.new(session_id : String, file_name : String, mode : String = "a", *, formatter : Log::Formatter = Log::ShortFormat)
#
Instance Method Detail
def close
#
Description copied from class Log::Backend
Closes underlying resources used by this backend.