]> source.dussan.org Git - redmine.git/commitdiff
pdf: add logger at vendor/plugins/rfpdf/lib/tcpdf.rb (#3261)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 12 Nov 2011 11:17:06 +0000 (11:17 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 12 Nov 2011 11:17:06 +0000 (11:17 +0000)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7786 e93f8b46-1217-0410-a6f0-8f06a7374b81

vendor/plugins/rfpdf/lib/tcpdf.rb

index e2dfab785ee89bfb6fdaac6fdd13725ba94f248d..f41e96437017aa560ac8446a18abb746bd578bc1 100755 (executable)
@@ -72,6 +72,10 @@ class TCPDF
   include Core::RFPDF
   include RFPDF::Math
   
+  def logger
+    Rails.logger
+  end
+
   cattr_accessor :k_cell_height_ratio
   @@k_cell_height_ratio = 1.25