This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2022-08-31 22:06:30 +08:00

28 lines
670 B
C

/*
**********************************************************************************************
* File: logger.h
* Description: log module
* Authors: Liu WenTan <liuwentan@geedgenetworks.com>
* Date: 2022-07-15
* Copyright: (c) 2018-2022 Geedge Networks, Inc. All rights reserved.
***********************************************************************************************
*/
#pragma once
#ifdef __cpluscplus
extern "C"
{
#endif
#define log_debug(x, format, ...)
#define log_info(x, format, ...)
#define log_notice(x, ...)
#define log_error(x, format, ...) fprintf(stdout, "PACKET_IO [ERROR]" format "\n", ##__VA_ARGS__)
#ifdef __cpluscplus
}
#endif