Sha256: e0d84fcef8f6806c43734045ad95e5d4802348b2e885bda11afefc12d3b8ad63
Contents?: true
Size: 401 Bytes
Versions: 3
Compression:
Stored size: 401 Bytes
Contents
module PerconaMigrator module LoggerFactory # Returns the appropriate logger instance for the given configuration. Use # :verbose option to log to the stdout # # @param verbose [Boolean] # @return [#say, #write] def self.build(verbose: true) if verbose PerconaMigrator::Logger.new else PerconaMigrator::NullLogger.new end end end end
Version data entries
3 entries across 3 versions & 1 rubygems