Uses of Class
org.apache.juneau.rest.mock.MockLogger
Packages that use MockLogger
-
Uses of MockLogger in org.apache.juneau.rest.mock
Methods in org.apache.juneau.rest.mock that return MockLoggerModifier and TypeMethodDescriptionMockLogger.assertLastLevel
(Level level) Asserts that the last message was logged at the specified level.MockLogger.assertLogged()
Asserts that this logger was called.static MockLogger
MockLogger.create()
Creator.Specifies the format for messages sent to the log file.Overrides the formatter to use for formatting messages.Sets the level for this logger.MockLogger.reset()
Resets this logger.Methods in org.apache.juneau.rest.mock that return types with arguments of type MockLoggerModifier and TypeMethodDescriptionMockLogger.assertContents()
Allows you to perform fluent-style assertions on the contents of the log file.MockLogger.assertLastMessage()
Asserts that the last message matched the specified message.MockLogger.assertRecordCount()
Asserts that the specified number of messages have been logged.