Skip to content

module ActionController #

Constants#

VERSION = "9.2.0"#

Class methods#

.default_backend(io = STDOUT, formatter = default_formatter) : ::Log::IOBackend#

configures a logging backend for use with your application

View source

.default_formatter : ::Log::Formatter#

the default format for request logging

View source

.json_formatter : ::Log::Formatter#

an alternative log output that uses JSON

useful for logging tools like Logstash

View source