Revert
git-svn-id: file:///home/svn/framework3/trunk@6525 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
90ec694397
commit
a3263e9c4a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue