Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: mperham/dalli
...
head fork: mixellent/dalli
compare: master
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Apr 30, 2012
Michael Hollander use my logger 7846d7f
Michael Revert "use my logger"
This reverts commit 7846d7f.
afe53ee
Michael Hollander Update lib/dalli.rb e4d168c
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/dalli.rb
9 lib/dalli.rb
View
@@ -16,7 +16,11 @@ class RingError < DalliError; end
class MarshalError < DalliError; end
def self.logger
- @logger ||= (rails_logger || default_logger)
+ @logger ||= my_logger #(rails_logger || default_logger)
+ end
+
+ def my_logger
+ Logging.logger["cache"]
end
def self.rails_logger
@@ -31,9 +35,6 @@ def self.default_logger
l
end
- def self.logger=(logger)
- @logger = logger
- end
end
if defined?(RAILS_VERSION) && RAILS_VERSION < '3'

No commit comments for this range

Something went wrong with that request. Please try again.