File: logger_ext.rb

package info (click to toggle)
ruby-train 3.13.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,208 kB
  • sloc: ruby: 10,002; sh: 17; makefile: 8
file content (8 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8

# Part of Audit Log.
# The default logger implementation injects a comment as the first line of the
# log file, which makes it an invalid JSON file. No way to disable that other than monkey-patching.

class Logger::LogDevice
  def add_log_header(file); end
end