28 lines
670 B
C
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 |