Module: RuGUI::LogSupport
- Included in:
- BaseController, BaseModel, BaseView, BaseViewHelper, Initializer, ObservablePropertyProxy, Plugin::Location
- Defined in:
- lib/rugui/log_support.rb
Overview
A simple log support for registering problems, infos and debugs.
Defined Under Namespace
Modules: ClassMethods Classes: Formatter
Class Method Summary collapse
Instance Method Summary collapse
-
#logger ⇒ Object
Returns the logger object.
Class Method Details
.included(base) ⇒ Object
23 24 25 |
# File 'lib/rugui/log_support.rb', line 23 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#logger ⇒ Object
Returns the logger object.
9 10 11 12 13 |
# File 'lib/rugui/log_support.rb', line 9 def logger @logger ||= RuGUILogger.logger @logger.formatter = RuGUI::LogSupport::Formatter.new(self.class.name) @logger end |