Class: Narou::Logger
- Inherits:
-
StringIO
- Object
- StringIO
- Narou::Logger
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
136
137
138
|
# File 'lib/logger.rb', line 136
def tty?
STDOUT.tty?
end
|
#write(str) ⇒ Object
131
132
133
134
|
# File 'lib/logger.rb', line 131
def write(str)
write_base(str, STDOUT)
super(str)
end
|