class EMLogger
Public Class Methods
new(file, count: 1, size: 1024000, level: Logger::DEBUG)
click to toggle source
Calls superclass method
# File lib/bull/server.rb, line 15 def initialize(file, count: 1, size: 1024000, level: Logger::DEBUG) super file, count, size @level = level end
Public Instance Methods
debug(msg)
click to toggle source
Calls superclass method
# File lib/bull/server.rb, line 30 def debug msg #puts 'debug:', msg EventMachine.defer(proc {super msg}) end
error(msg)
click to toggle source
Calls superclass method
# File lib/bull/server.rb, line 20 def error msg #puts 'error:', msg EventMachine.defer(proc {super msg}) end
info(msg)
click to toggle source
Calls superclass method
# File lib/bull/server.rb, line 25 def info msg #puts 'info:', msg EventMachine.defer(proc {super msg}) end
warn(msg)
click to toggle source
Calls superclass method
# File lib/bull/server.rb, line 35 def warn msg #puts 'warn:', msg EventMachine.defer(proc {super msg}) end