Class: Pgcp
- Inherits:
-
Object
- Object
- Pgcp
- Defined in:
- lib/pgcp.rb
Constant Summary collapse
- @@logger =
nil
Class Method Summary collapse
Class Method Details
.log_file=(path) ⇒ Object
69 70 71 |
# File 'lib/pgcp.rb', line 69 def self.log_file=(path) @@logger = Logger.new(path) end |
.logger ⇒ Object
61 62 63 64 65 66 67 |
# File 'lib/pgcp.rb', line 61 def self.logger if not @@logger @@logger = Logger.new STDOUT end @@logger end |