lib/micrologger.rb in micrologger-0.1.0 vs lib/micrologger.rb in micrologger-0.1.1
- old
+ new
@@ -1,11 +1,12 @@
+require_relative 'micrologger/version'
+
require 'microevent'
require 'paint'
class MicroLogger
include MicroEvent
- VERSION = "0.1.0".freeze
DEFAULT_HANDLERS = {
stdout: lambda{ |message, extra|
STDOUT.puts formatter(message, extra)
},
stderr: lambda{ |message, extra|