lokinet/llarp/util/logging.hpp

18 lines
369 B
C++
Raw Permalink Normal View History

#pragma once
// Header for making actual log statements such as llarp::log::Info and so on work.
#include <oxen/log.hpp>
#include <oxen/log/ring_buffer_sink.hpp>
#include <array>
#include <string>
#include <string_view>
namespace llarp
{
2024-02-01 12:43:43 +00:00
namespace log = oxen::log;
2024-02-01 12:43:43 +00:00
inline std::shared_ptr<log::RingBufferSink> logRingBuffer = nullptr;
} // namespace llarp