Class: Glimmer::Config::OpalLogger
- Inherits:
-
Logger
- Object
- Logger
- Glimmer::Config::OpalLogger
- Defined in:
- lib/glimmer/config/opal_logger.rb
Instance Method Summary collapse
Instance Method Details
#add(severity, message = nil, progname = nil, &block) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/glimmer/config/opal_logger.rb', line 5 def add(severity, = nil, progname = nil, &block) original_logdev = @pipe if severity == ERROR @pipe = $stderr else @pipe = original_logdev end add_without_opal_logger(severity, , progname, &block) end |
#add_without_opal_logger ⇒ Object
4 |
# File 'lib/glimmer/config/opal_logger.rb', line 4 alias add_without_opal_logger add |