Parent

Class/Module Index [+]

Quicksearch

Celluloid::Logger::WithBacktrace

Public Class Methods

new(backtrace) click to toggle source
# File lib/celluloid/logger.rb, line 4
def initialize(backtrace)
  @backtrace = backtrace
end

Public Instance Methods

debug(string) click to toggle source
# File lib/celluloid/logger.rb, line 8
def debug(string)
  Celluloid.logger.debug(decorate(string))
end
decorate(string) click to toggle source
# File lib/celluloid/logger.rb, line 24
def decorate(string)
  [string, @backtrace].join("\n\t")
end
error(string) click to toggle source
# File lib/celluloid/logger.rb, line 20
def error(string)
  Celluloid.logger.error(decorate(string))
end
info(string) click to toggle source
# File lib/celluloid/logger.rb, line 12
def info(string)
  Celluloid.logger.info(decorate(string))
end
warn(string) click to toggle source
# File lib/celluloid/logger.rb, line 16
def warn(string)
  Celluloid.logger.warn(decorate(string))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.