Module: TTTLS13::Logging

Included in:
Connection
Defined in:
lib/tttls1.3/logging.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.loggerObject



10
11
12
# File 'lib/tttls1.3/logging.rb', line 10

def self.logger
  @logger ||= Logger.new(STDERR, Logger::WARN)
end

Instance Method Details

#loggerObject



6
7
8
# File 'lib/tttls1.3/logging.rb', line 6

def logger
  Logging.logger
end