testhelpers/src/main/java/com/kdgregory/aws/utils/testhelpers/mocks/MockAWSLogs.java
/**
     *  Adds a message to the shared messages list. Streams that do not have
     *  stream-specific messages will return messages from the shared list.
     */
Adds a message to the shared messages list. Streams that do not have
stream-specific messages will return messages from the shared list.
Adds a message to the shared messages list . Streams that do not have stream - specific messages will return messages from the shared list .
public MockAWSLogs withSharedMessage(long timestamp, String message)
    {
        OutputLogEvent event = new OutputLogEvent().withTimestamp(timestamp).withMessage(message);
        sharedEvents.add(event);
        return this;
    }
public MockAWSLogs withSharedMessage ( long timestamp , String message ) { OutputLogEvent event = new OutputLogEvent ( ) . withTimestamp ( timestamp ) . withMessage ( message ) ; sharedEvents . add ( event ) ; return this ; }
Adds a message to the shared messages list.
Adds a message to the shared messages list .