class TextEditor::Logger

Public Class Methods

new(editor) click to toggle source
Calls superclass method
  # File lib/text_editor/logger.rb
3 def initialize(editor)
4   log = editor.config.log
5 
6   super(log.file, *log.options) do |logger|
7     logger.level = log.level
8   end
9 end