Class: Logback::ConsoleAppender
- Inherits:
-
JConsoleAppender
- Object
- Logback::ConsoleAppender
- Includes:
- AppenderUtil
- Defined in:
- lib/logback.rb
Overview
Extends ch.qos.logback.core.ConsoleAppender with a block initializer.
Instance Method Summary collapse
-
#initialize(&block) ⇒ ConsoleAppender
constructor
Sets context, default name and layout, yields self to block, and calls self.start.
Methods included from AppenderUtil
Constructor Details
#initialize(&block) ⇒ ConsoleAppender
Sets context, default name and layout, yields self to block, and calls self.start
214 215 216 217 218 |
# File 'lib/logback.rb', line 214 def initialize( &block ) super() set_defaults finish( &block ) end |