Module: XML::Util
- Defined in:
- lib/xml/util/xmlcanonicalizer.rb
Defined Under Namespace
Classes: NamespaceNode, XmlCanonicalizer
Instance Method Summary collapse
Instance Method Details
#logging=(state) ⇒ Object
402 403 404 405 406 407 408 409 410 411 412 |
# File 'lib/xml/util/xmlcanonicalizer.rb', line 402 def logging=(state) if (state) @logger = Logger.new("xmlcanonicalizer") @logger.level = DEBUG @logger.trace = false p = PatternFormatter.new(:pattern => "[%l] %d :: %.100m %15t") @logger.add(FileOutputter.new("wss4r", {:filename => "xmlcanonicalizer.log", :formatter => BasicFormatter})) else @logger = nil end end |