Add interface for logger