Simplified the logging interface.