Module: Finlight::Logging

Defined in:
lib/finlight/logging.rb

Overview

Default logger shared by the clients: warnings and errors to stderr. Pass your own logger: to the client or WebSocket clients to override.

Class Method Summary collapse

Class Method Details

.defaultObject



11
12
13
# File 'lib/finlight/logging.rb', line 11

def default
  @default ||= Logger.new($stderr, level: Logger::WARN, progname: "finlight")
end