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
stellar-stellar-2022/sdk/include/logger.h

28 lines
670 B
C
Raw Normal View History

2022-07-26 15:05:14 +08:00
/*
**********************************************************************************************
* 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
2022-08-11 10:50:41 +08:00
#ifdef __cpluscplus
extern "C"
{
#endif
2022-08-26 15:59:12 +08:00
#define log_debug(x, format, ...)
2022-07-26 15:05:14 +08:00
2022-08-26 15:59:12 +08:00
#define log_info(x, format, ...)
2022-07-26 15:05:14 +08:00
#define log_notice(x, ...)
#define log_error(x, format, ...) fprintf(stdout, "PACKET_IO [ERROR]" format "\n", ##__VA_ARGS__)
2022-08-11 10:50:41 +08:00
#ifdef __cpluscplus
}
#endif