git-svn-id: file:///home/svn/framework3/trunk@6525 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-05-05 21:37:01 +00:00
parent 90ec694397
commit a3263e9c4a
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Logger # :nodoc:
# A helper method for creating a +Logger+ which produce call stack # A helper method for creating a +Logger+ which produce call stack
# in their output # in their output
def self.new_with_callstack logdev=STDERR def self.new_with_callstack logdev=STDERR
log = Logger.new log = Logger.new logdev
log.level = WARN log.level = WARN
log.formatter = proc do |severity, time, progname, msg| log.formatter = proc do |severity, time, progname, msg|
# find where we were called from, in our code # find where we were called from, in our code