tailog 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tailog/version.rb +1 -1
- data/lib/tailog/watch_methods.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1eee8873170ab412654ccf81ce8f59df6aa03667
|
4
|
+
data.tar.gz: 5bedb6af7297342259ec7611c6032f9a377bb175
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cc194e4d7df33a18a0b40ed633b0e815e7151141f8e9f82dbfb0118631f7999232a7fe73aed68f15349d9e7c8b7bb0cb7c43a74edc1dbe045b10e5b1a461092
|
7
|
+
data.tar.gz: c387dcef3da18acf98217c77372535b805b381ccd7a0683e2c33409d89fc4c59a47f3bf022fa61a5812e65b16d0bae88b93fd6e85e0edae418960f11fef7af74
|
data/lib/tailog/version.rb
CHANGED
data/lib/tailog/watch_methods.rb
CHANGED
@@ -48,7 +48,7 @@ module Tailog
|
|
48
48
|
return <<-EOS
|
49
49
|
alias_method :#{raw_method}, :#{method}
|
50
50
|
def #{method} *args
|
51
|
-
Tailog::WatchMethods.logger.info "Method called: #{target} with \#{args}"
|
51
|
+
Tailog::WatchMethods.logger.info "Method called: #{target} \#{self} with \#{args}"
|
52
52
|
start = Time.now
|
53
53
|
result = send :#{raw_method}, *args
|
54
54
|
Tailog::WatchMethods.logger.info "Method finished: #{target} with \#{result} in \#{(Time.now - start) * 1000} ms"
|