class RJack::Logback::FileAppender
Extends ch.qos.logback.core.FileAppender with a block initializer.
Public Class Methods
new( file_name, append = true, &block )
click to toggle source
Sets defaults, yields self to block, and calls self.start
Calls superclass method
# File lib/rjack-logback.rb, line 251 def initialize( file_name, append = true, &block ) super() set_defaults self.file = file_name self.append = append self.encoding = "UTF-8" finish( &block ) end