Methods
#
D
L
N
Attributes
[RW] time_format
Class Public methods
new(log_file=nil, level=nil)
# File lib/webrick/log.rb, line 77
def initialize(log_file=nil, level=nil)
  super(log_file, level)
  @time_format = "[%Y-%m-%d %H:%M:%S]"
end
Instance Public methods
__debug(msg = nil)
debug(msg = nil)
Also aliased as: __debug
# File lib/soap/rpc/soaplet.rb, line 26
def debug(msg = nil)
  if block_given? and msg.nil?
    __debug(yield)
  else
    __debug(msg)
  end
end
log(level, data)
# File lib/webrick/log.rb, line 82
def log(level, data)
  tmp = Time.now.strftime(@time_format)
  tmp << " " << data
  super(level, tmp)
end