36
37
38
39
40
41
42
43
44
45
46
|
# File 'lib/radiodan/logging.rb', line 36
def logger
unless @@logs.include? self.name
new_log = Logger.new(Logging.output)
new_log.progname = self.name
new_log.level = Logging.level
@@logs[self.name] = new_log
end
@@logs[self.name]
end
|