Restore the original logger module
Reset all logger mocks
Clear all logger mock call history
Access to the mock logger instance
Access to individual mock functions
Helper methods for verifying log messages
Verify that a specific log level was called with a message
Verify that a specific log level was called a certain number of times
Verify that a specific log level was not called
Verify that info log was called with specific message
Verify that warn log was called with specific message
Verify that error log was called with specific message
Verify that debug log was called with specific message
Verify that any log level was called with a message containing specific text
Verify that error log was called with an Error object
Get all log calls for a specific level
Get all log calls across all levels
Verify that no logs were called at any level
Verify that logs were called in a specific order
Create a spy on console methods (useful for testing console.log, etc.)
Predefined scenarios for common logging test cases
Setup logger to capture all calls without throwing
Setup logger to throw on error level
Setup logger to be silent (no-op)
Setup logger with custom implementations
Helper to mock logger functions for consistent testing Provides comprehensive logger mocking capabilities for verifying log messages