Class: Narou::LoggerError
- Inherits:
-
StringIO
- Object
- StringIO
- Narou::LoggerError
show all
- Includes:
- LoggerModule
- Defined in:
- lib/logger.rb
Instance Attribute Summary
Attributes included from LoggerModule
#capturing
Instance Method Summary
collapse
#capture, #copy_instance, #error, #initialize, #save, #silence, #silent, #silent=, #strip_color, #warn, #write_base, #write_console
Instance Method Details
#tty? ⇒ Boolean
149
150
151
|
# File 'lib/logger.rb', line 149
def tty?
STDERR.tty?
end
|
#write(str) ⇒ Object
144
145
146
147
|
# File 'lib/logger.rb', line 144
def write(str)
write_base(str, STDERR)
super(str)
end
|