summaryrefslogtreecommitdiff
path: root/lib/logger/formatter.rb
AgeCommit message (Collapse)Author
2021-12-18[ruby/logger] Changes to datetime formattingBaron Bloomer
Formatting a datetime should only pertain to itself and valid datetimes do not contain a space. Should there be a desire to show show a space between the datetime and the process pid in the formatted log, this formatting logic should take place there. Furthermore, the default datetime format is moved to a class variable to allowing this variable to be overwritten by subclasses. https://github.com/ruby/logger/commit/7cbd434349
2020-09-29Reference process PID using the Process#pidMaciej Mensfeld
This change will allow formatter to run from Ractors other than main. Notes: Merged: https://github.com/ruby/ruby/pull/3600
2019-12-09[ruby/logger] Avoid creating [] and "" when logging an Exception that has no ↵Akira Matsuda
backtrace https://github.com/ruby/logger/commit/75fd308053
2019-12-09[ruby/logger] frozen_string_literal: truesonots
https://github.com/ruby/logger/commit/a057eede7b
2019-07-15[ruby/logger] split logger classes/modules into separate filesColby Swandale
https://github.com/ruby/logger/commit/f10ce9fff2