Module: BaseEditingBootstrap::Logging
- Included in:
- Utilities::FormHelper, Utilities::TemplateHelper
- Defined in:
- lib/base_editing_bootstrap/logging.rb
Instance Method Summary collapse
Instance Method Details
#bs_logger ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/base_editing_bootstrap/logging.rb', line 5 def bs_logger @logger ||= begin config_logger = BaseEditingBootstrap.logger config_logger = config_logger || (defined?(Rails) ? Rails.logger : Logger.new($stdout)) ActiveSupport::TaggedLogging.new(config_logger).tagged("BASE EDITING BOOTSTRAP") end end |