module ActionController

Defined in:

action-controller.cr
action-controller/log_handler.cr
action-controller/logger.cr
action-controller/spec_helper.cr

Constant Summary

VERSION = "7.4.4"

Class Method Summary

Class Method Detail

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

configures a logging backend for use with your application


[View source]
def self.default_formatter : ::Log::Formatter #

the default format for request logging


[View source]
def self.json_formatter : ::Log::Formatter #

an alternative log output that uses JSON

useful for logging tools like Logstash


[View source]