lib/skylight/util/logging.rb in skylight-0.2.2 vs lib/skylight/util/logging.rb in skylight-0.2.3
- old
+ new
@@ -33,10 +33,16 @@
def error(msg, *args)
log :error, msg, *args
end
- alias fmt sprintf
+ alias log_trace trace
+ alias log_debug debug
+ alias log_info info
+ alias log_warn warn
+ alias log_error error
+
+ alias fmt sprintf
def log(level, msg, *args)
return unless respond_to?(:config)
return unless c = config