logger changes from global static variables to one instance per stellar
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
#include <string.h>
|
||||
#include <netinet/ether.h>
|
||||
|
||||
#include "log.h"
|
||||
#include "marsio.h"
|
||||
#include "marsio_io.h"
|
||||
#include "packet_private.h"
|
||||
#include "log_private.h"
|
||||
#include "packet_parser.h"
|
||||
#include "packet_private.h"
|
||||
|
||||
#define PACKET_IO_LOG_ERROR(format, ...) LOG_ERROR("marsio", format, ##__VA_ARGS__)
|
||||
#define PACKET_IO_LOG_ERROR(format, ...) STELLAR_LOG_ERROR(__thread_local_logger, "marsio", format, ##__VA_ARGS__)
|
||||
|
||||
struct marsio_io
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user