Class: LoggerError
- Inherits:
-
StringIO
- Object
- StringIO
- LoggerError
- Includes:
- LoggerModule, Singleton
- Defined in:
- lib/logger.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from LoggerModule
#initialize, #save, #silent, #silent=
Class Method Details
.get ⇒ Object
48 49 50 |
# File 'lib/logger.rb', line 48 def self.get instance end |
Instance Method Details
#write(str) ⇒ Object
52 53 54 55 56 57 |
# File 'lib/logger.rb', line 52 def write(str) super unless @is_silent STDERR.write(str) end end |