File: logger_ext.rb

package info (click to toggle)
ruby-train 3.12.6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,204 kB
  • sloc: ruby: 9,876; 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