Module: WsdlMapper::Parsing::Logging
- Included in:
- DomParsing::Linker, Base
- Defined in:
- lib/wsdl_mapper/parsing/logging.rb
Defined Under Namespace
Classes: LogMsg
Instance Attribute Summary collapse
-
#log_msgs ⇒ Object
Returns the value of attribute log_msgs.
Instance Method Summary collapse
Instance Attribute Details
#log_msgs ⇒ Object
Returns the value of attribute log_msgs.
20 21 22 |
# File 'lib/wsdl_mapper/parsing/logging.rb', line 20 def log_msgs @log_msgs end |
Instance Method Details
#log_msg(node, msg = '', source = self) ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/wsdl_mapper/parsing/logging.rb', line 24 def log_msg(node, msg = '', source = self) @log_msgs ||= [] @log_msgs << LogMsg.new(node, source, msg) @logger ||= ::Logging.logger[self] @logger.warn "#{msg} in #{node}" end |