module ActionController
Defined in:
action-controller.craction-controller/log_handler.cr
action-controller/logger.cr
action-controller/spec_helper.cr
Constant Summary
-
VERSION =
"7.5.0"
Class Method Summary
-
.default_backend(io = STDOUT, formatter = default_formatter) : ::Log::IOBackend
configures a logging backend for use with your application
-
.default_formatter : ::Log::Formatter
the default format for request logging
-
.json_formatter : ::Log::Formatter
an alternative log output that uses JSON
Class Method Detail
def self.default_backend(io = STDOUT, formatter = default_formatter) : ::Log::IOBackend
#
configures a logging backend for use with your application
def self.json_formatter : ::Log::Formatter
#
an alternative log output that uses JSON
useful for logging tools like Logstash