class Swiftcore::Analogger::Log
Attributes
cull[R]
levels[R]
logfile[R]
service[R]
Public Class Methods
new(spec)
click to toggle source
# File lib/swiftcore/Analogger.rb, line 273 def initialize(spec) @service = spec[-"service"] @levels = spec[-"levels"] @logfile = spec[-"logfile"] @cull = spec[-"cull"] end
Public Instance Methods
==(n)
click to toggle source
# File lib/swiftcore/Analogger.rb, line 284 def ==(n) n.service == @service && n.levels == @levels && n.logfile == @logfile && n.cull == @cull end
to_s()
click to toggle source
# File lib/swiftcore/Analogger.rb, line 280 def to_s "service: #{@service}\nlevels: #{@levels.inspect}\nlogfile: #{@logfile}\ncull: #{@cull}\n" end