Define the interface of Log