From 105f30c93f4e133baf77ebfcc30bce3194b7c8de Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 12 Nov 2011 11:17:06 +0000 Subject: [PATCH] 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 --- vendor/plugins/rfpdf/lib/tcpdf.rb | 4 ++++ 1 file changed, 4 insertions(+) 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