superclass=Object
type=class
library=logger
extended=
included=Logger=Severity

桼Υץꥱ˥ǽñɲä뤳ȤǤޤ

=== ˡ

  (1) Υ饹Υ֥饹Ȥƥ桼ΥץꥱΥ饹ޤ
  (2) 桼Υ饹ǥᥤԤ run ᥽åɤޤ
  (3) Υ饹򥤥󥹥󥹲 start ᥽åɤƤӽФޤ


:

  class FooApp < Application
    def initialize(foo_app, application_specific, arguments)
      super('FooApp') # Name of the application.
    end
  
    def run
      ...
      log(WARN, 'warning', 'my_method1')
      ...
      @log.error('my_method2') { 'Error!' }
      ...
    end
  end
  
  status = FooApp.new(....).start
