Added interface for logging