mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Reference process PID using the Process#pid
This change will allow formatter to run from Ractors other than main.
This commit is contained in:
parent
c38605de6b
commit
0fb1a67bda
Notes:
git
2020-09-30 03:51:14 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class Logger
|
|||
end
|
||||
|
||||
def call(severity, time, progname, msg)
|
||||
Format % [severity[0..0], format_datetime(time), $$, severity, progname,
|
||||
Format % [severity[0..0], format_datetime(time), Process.pid, severity, progname,
|
||||
msg2str(msg)]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue