Skip to content
Browse files

Add time to log

  • Loading branch information...
1 parent 267848e commit 2d6aa8686b336e562f4f280ee6d25e64209b6ab9 @gcao committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/aspector/logger.rb
View
2 lib/aspector/logger.rb
@@ -27,7 +27,7 @@ def visible? level
private
def log_prefix level
- s = "Aspector | " << level_to_string(level) << " | "
+ s = "#{Time.now} | Aspector | " << level_to_string(level) << " | "
if context.is_a? Aspector::Base
s << context.class.to_s << " | " << context.aop_target.to_s << " | "
else

0 comments on commit 2d6aa86

Please sign in to comment.
Something went wrong with that request. Please try again.