summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-12 11:17:06 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-11-12 11:17:06 +0000
commit105f30c93f4e133baf77ebfcc30bce3194b7c8de (patch)
treedc463a93353e25f576090e35fc331c2ea632a7c0 /vendor
parentc4d9c29de94dfbd229baae0c9fe0b406315b6a5b (diff)
downloadredmine-105f30c93f4e133baf77ebfcc30bce3194b7c8de.tar.gz
redmine-105f30c93f4e133baf77ebfcc30bce3194b7c8de.zip
pdf: add logger at vendor/plugins/rfpdf/lib/tcpdf.rb (#3261)
Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7786 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rwxr-xr-xvendor/plugins/rfpdf/lib/tcpdf.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/plugins/rfpdf/lib/tcpdf.rb b/vendor/plugins/rfpdf/lib/tcpdf.rb
index e2dfab785..f41e96437 100755
--- a/vendor/plugins/rfpdf/lib/tcpdf.rb
+++ b/vendor/plugins/rfpdf/lib/tcpdf.rb
@@ -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