interface for logs