class Karafka::Instrumentation::Logger

def file

Other tags:
    Note: - File is being opened in append mode ('a')

Returns:
  • (File) - file to which we want to write our logs
def file
  @file ||= File.open(log_path, 'a')
end