mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
b0c56db7f6
* Allow to define a custom formatter for logs
3 lines
92 B
Ruby
3 lines
92 B
Ruby
log_formatter do |str|
|
|
"[#{Process.pid}] [#{Socket.gethostname}] #{Time.now}: #{str}"
|
|
end
|