Sha256: a6336657361ca93c8bdf7ddbd6467d125edfff035dfb43d4e6745d24ee557884
Contents?: true
Size: 725 Bytes
Versions: 8
Compression:
Stored size: 725 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'yaml' require 'logger' require 'lucid/platform' require 'lucid/parser' require 'lucid/runtime' require 'lucid/cli/app' require 'lucid/step_definitions' require 'lucid/term/ansicolor' module Lucid class << self attr_accessor :wants_to_quit def logger return @log if @log @log = Logger.new(STDOUT) @log.level = Logger::INFO @log end def logger=(logger) @log = logger end end class LogFormatter < ::Logger::Formatter def call(severity, time, progname, msg) "\n[ LUCID (#{severity}) ] #{msg}" end end end
Version data entries
8 entries across 8 versions & 1 rubygems