Custom console formatter for logger