Class: Logger::LogDevice

Inherits:
Object
  • Object
show all
Defined in:
lib/train/logger_ext.rb

Overview

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.

Instance Method Summary collapse

Instance Method Details

#add_log_header(file) ⇒ Object



7
# File 'lib/train/logger_ext.rb', line 7

def add_log_header(file); end