Sha256: 8d0b52781e5ec2accf91c14951c0cf41fec23ee3ee94b8817795f9df88116536
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
require 'logger' begin RSCM_DEFAULT_LOGGER = Logger.new("#{HOMEDIR}/.rscm.log") rescue StandardError RSCM_DEFAULT_LOGGER = Logger.new(STDERR) RSCM_DEFAULT_LOGGER.level = Logger::WARN RSCM_DEFAULT_LOGGER.warn( "RSCM Error: Unable to access log file. Please ensure that #{HOMEDIR}/.rscm.log exists and is chmod 0666. " + "The log level has been raised to WARN and the output directed to STDERR until the problem is fixed." ) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rscm-0.3.0 | lib/rscm/logging.rb |