ChugR opened a new pull request #678: DISPATCH-1536: Microsecond timestamp 
utility for self-tests
URL: https://github.com/apache/qpid-dispatch/pull/678
 
 
   This commit pulls the Logger class out of system_tests_edge_router and
   places it into system_tests for easy access.
   
   An example consumer of Logger is the MobileAddressTest. That test creates
   a logger and loads it with facts as the test progresses but it doesn't print
   anything unless there is a test failure.
   
   By default Logger does not print to the console and it saves each log
   line as it goes. When Logger is initialized either of these defaults
   may be overridden.
   
   How to print to the console with a timestamp:
   
       from system_test import Logger
       ...
       self.log2 = Logger(print_to_console=True, save_for_dump=False)
       self.log2.log("Help I'm a Rock")

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to