class Syslog::Logger

Defined in:

syslog/logger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hostname : String = "localhost", appname : String | Nil = nil, facility : Syslog::Facility = Facility::LOCAL4, remote : Bool = false, syslog_host : String = "localhost", syslog_port : Int32 = 514) #

[View source]

Instance Method Detail

def alert(message : String) #

[View source]
def critical(message : String) #

[View source]
def debug(message : String) #

[View source]
def emergency(message : String) #

[View source]
def error(message : String) #

[View source]
def info(message : String) #

[View source]
def notice(message : String) #

[View source]
def warn(message : String) #

[View source]