repo.or.cz
/
maraby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Added simple Rack app.
[maraby.git]
/
simple_rack_app
/
simple
/
logger.rb
blob
dd6e199ef881f106165d7724fc7cb4975676e456
1
require 'logger'
2
3
module Simple
4
class Logger < ::Logger
5
def initialize(*args)
6
super
7
self.formatter = proc{|s,t,p,m|"#{s} [#{t.strftime("%Y-%m-%d %H:%M:%S")}] (#{$$}) #{p} :: #{m}\n"}
8
end
9
end
10
end