Class: PGP::Log

Inherits:
Object
  • Object
show all
Defined in:
lib/pgp/log.rb

Class Attribute Summary collapse

Class Attribute Details

.loggerObject



9
10
11
12
13
# File 'lib/pgp/log.rb', line 9

def logger
  @logger ||= Logger.new($stdout).tap do |log|
    log.progname = self.name
  end
end

.verboseObject



15
16
17
# File 'lib/pgp/log.rb', line 15

def verbose
  @verbose ||= false
end