Module: Smith::Logger
- Included in:
- Smith, ACL::Factory, ACLCompiler, Agency, Agent, AgentBootstrap, AgentMonitoring, AgentProcess, AgentProcessObserver, Command, CommandBase, Daemon, LoggeMethods, Messaging::AmqpOptions, Messaging::Foo, Messaging::Receiver, Messaging::Requeue, Messaging::Responder, Messaging::Sender, SelfPipe
- Defined in:
- lib/smith/logger.rb
Defined Under Namespace
Modules: Methods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/smith/logger.rb', line 5 def self.included(base) if !Logging.const_defined?(:MAX_LEVEL_LENGTH) Logging.init([:verbose, :debug, :info, :warn, :error, :fatal]) end base.class_eval do include Methods extend Methods end end |