lib/xezat.rb in xezat-0.2.0 vs lib/xezat.rb in xezat-0.2.1
- old
+ new
@@ -10,12 +10,12 @@
CONFIG_FILE = File.expand_path(File.join(Dir.home, '.xezat', 'config.yml'))
class << self
attr_accessor :logger
end
- Xezat.logger = Logger.new(STDOUT)
- Xezat.logger.formatter = proc { |_severity, datetime, _progname, message|
- "#{datetime}: #{message}\n"
+ Xezat.logger = Logger.new($stdout)
+ Xezat.logger.formatter = proc { |severity, datetime, _progname, message|
+ "#{datetime}: [#{severity}] #{message}\n"
}
class CygportProcessError < StandardError
end
end