a simple wrapper for logger