Class: MongodbLogger::Utils::Migrate::MongoMigrateLogger

Inherits:
Logger
  • Object
show all
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

Methods inherited from Logger

#add, #add_metadata, #mongoize

Methods included from ReplicaSetHelper

#rescue_connection_failure

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