摘要 |
A method and system for logging messages in a test environment. Devices that display, output, store, or transmit log messages are instantiated as objects to log messages sent from a testing application. The testing application requests that a message be logged by a logger. The logger passes a formatted log message to a publisher. The publisher packages the log message in a trace object which is then published to each device that has requested messages of a type including the log message. The testing application need not be recompiled to cause log messages to be logged in a different manner.
|