Class: MongodbLogger::Utils::Migrate::MongoMigrateLogger
- Inherits:
-
Logger
- Object
- ActiveSupport::BufferedLogger
- RailsLogger
- Logger
- MongodbLogger::Utils::Migrate::MongoMigrateLogger
- Defined in:
- lib/mongodb_logger/utils/migrate.rb
Constant Summary
Constants inherited from Logger
Logger::ADAPTERS, Logger::CONFIGURATION_FILES, Logger::DEFAULT_COLLECTION_SIZE, Logger::LOG_LEVEL_SYM
Instance Attribute Summary
Attributes inherited from Logger
#app_env, #app_root, #db_configuration, #excluded_from_log, #mongo_adapter
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ MongoMigrateLogger
constructor
A new instance of MongoMigrateLogger.
Methods inherited from Logger
#add, #add_metadata, #mongoize
Methods included from ReplicaSetHelper
Constructor Details
#initialize(config = {}) ⇒ MongoMigrateLogger
Returns a new instance of MongoMigrateLogger.
41 42 43 44 |
# File 'lib/mongodb_logger/utils/migrate.rb', line 41 def initialize(config = {}) @static_config = config super("/dev/null") end |