class JsonLogHandler
- JsonLogHandler
- Kemal::BaseLogHandler
- Reference
- Object
Defined in:
app/json_log_handler.crConstructors
Instance Method Summary
- #call(context : HTTP::Server::Context)
-
#reopen
reopen log file
-
#write(message : String)
Only used to log Kemal's log, we chomp the last line feed
-
#write_msg(message, context : HTTP::Server::Context | Nil = nil)
Used by zwip's log() helper function
Constructor Detail
Instance Method Detail
def write_msg(message, context : HTTP::Server::Context | Nil = nil)
#
Used by zwip's log() helper function