Define the interface of Log
Simple implementation of log interface.