class Pantheios::Services::NullLogService
A class that fulfils the Pantheios
LogService protocol that disallows all severities and does nothing when asked to log
NOTE: The LogService protocol is implemented by a class that provides the instance methods +severity_logged?(severity : Object) : boolean+ and +log(severity : Object, t : Time, prefix : String|Array, msg : String)+
Public Instance Methods
log(sev, t, pref, msg)
click to toggle source
# File lib/pantheios/services/null_log_service.rb, line 68 def log sev, t, pref, msg ; end
severity_logged?(severity)
click to toggle source
# File lib/pantheios/services/null_log_service.rb, line 63 def severity_logged? severity false end