Class: Narou::LoggerError
- Inherits:
-
StringIO
- Object
- StringIO
- Narou::LoggerError
show all
- Includes:
- LoggerModule
- Defined in:
- lib/narou_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
154
155
156
|
# File 'lib/narou_logger.rb', line 154
def tty?
STDERR.tty?
end
|
#write(str) ⇒ Object
149
150
151
152
|
# File 'lib/narou_logger.rb', line 149
def write(str)
write_base(str, STDERR)
super(str)
end
|