Added the ability to add log entries.