mirror of https://github.com/oxen-io/lokinet
Move logging to subdirectory
parent
dcdc7dc904
commit
1aec0dfa2b
@ -1,6 +1,8 @@
|
||||
#if defined(ANDROID)
|
||||
#include <util/android_logger.hpp>
|
||||
#include <util/logger_internal.hpp>
|
||||
|
||||
#include <util/logging/android_logger.hpp>
|
||||
#include <util/logging/logger_internal.hpp>
|
||||
|
||||
#include <android/log.h>
|
||||
namespace llarp
|
||||
{
|
@ -1,7 +1,8 @@
|
||||
#ifndef LLARP_UTIL_ANDROID_LOGGER_HPP
|
||||
#define LLARP_UTIL_ANDROID_LOGGER_HPP
|
||||
|
||||
#include <util/logstream.hpp>
|
||||
#include <util/logging/logstream.hpp>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace llarp
|
@ -1,5 +1,6 @@
|
||||
#include <util/file_logger.hpp>
|
||||
#include <util/logger_internal.hpp>
|
||||
#include <util/logging/file_logger.hpp>
|
||||
#include <util/logging/logger_internal.hpp>
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace llarp
|
@ -1,7 +1,8 @@
|
||||
#ifndef LLARP_UTIL_FILE_LOGGER_HPP
|
||||
#define LLARP_UTIL_FILE_LOGGER_HPP
|
||||
|
||||
#include <util/logstream.hpp>
|
||||
#include <util/logging/logstream.hpp>
|
||||
|
||||
#include <util/thread_pool.hpp>
|
||||
#include <util/time.hpp>
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include <util/logger.hpp>
|
||||
#include <util/logger.h>
|
||||
#include <util/ostream_logger.hpp>
|
||||
#include <util/logging/logger.hpp>
|
||||
#include <util/logging/logger.h>
|
||||
#include <util/logging/ostream_logger.hpp>
|
||||
#if defined(_WIN32)
|
||||
#include <util/win32_logger.hpp>
|
||||
#include <util/logging/win32_logger.hpp>
|
||||
#endif
|
||||
#if defined(ANDROID)
|
||||
#include <util/android_logger.hpp>
|
||||
#include <util/logging/android_logger.hpp>
|
||||
#endif
|
||||
|
||||
namespace llarp
|
@ -1,6 +1,7 @@
|
||||
#ifndef LLARP_UTIL_LOGGER_SYSLOG_HPP
|
||||
#define LLARP_UTIL_LOGGER_SYSLOG_HPP
|
||||
#include <util/logstream.hpp>
|
||||
|
||||
#include <util/logging/logstream.hpp>
|
||||
#include <iostream>
|
||||
|
||||
namespace llarp
|
@ -1,10 +1,12 @@
|
||||
#ifndef LLARP_UTIL_LOG_STREAM_HPP
|
||||
#define LLARP_UTIL_LOG_STREAM_HPP
|
||||
#include <util/logging/loglevel.hpp>
|
||||
|
||||
#include <util/time.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <util/loglevel.hpp>
|
||||
#include <sstream>
|
||||
#include <util/time.hpp>
|
||||
|
||||
namespace llarp
|
||||
{
|
@ -1,5 +1,5 @@
|
||||
#include <util/ostream_logger.hpp>
|
||||
#include <util/logger_internal.hpp>
|
||||
#include <util/logging/ostream_logger.hpp>
|
||||
#include <util/logging/logger_internal.hpp>
|
||||
|
||||
namespace llarp
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
#ifndef LLARP_UTIL_OSTREAM_LOGGER_HPP
|
||||
#define LLARP_UTIL_OSTREAM_LOGGER_HPP
|
||||
|
||||
#include <util/logstream.hpp>
|
||||
#include <util/logging/logstream.hpp>
|
||||
#include <iostream>
|
||||
|
||||
namespace llarp
|
@ -1,6 +1,8 @@
|
||||
#ifndef _WIN32
|
||||
#include <util/logger_syslog.hpp>
|
||||
#include <util/logger_internal.hpp>
|
||||
#include <util/logging/logger_syslog.hpp>
|
||||
|
||||
#include <util/logging/logger_internal.hpp>
|
||||
|
||||
#include <syslog.h>
|
||||
namespace llarp
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
#if defined(_WIN32)
|
||||
#include <util/win32_logger.hpp>
|
||||
#include <util/logger_internal.hpp>
|
||||
#include <util/logging/win32_logger.hpp>
|
||||
#include <util/logging/logger_internal.hpp>
|
||||
|
||||
static CONSOLE_SCREEN_BUFFER_INFO consoleInfo;
|
||||
static short old_attrs;
|
@ -1,7 +1,7 @@
|
||||
#ifndef LLARP_UTIL_WIN32_LOGGER_HPP
|
||||
#define LLARP_UTIL_WIN32_LOGGER_HPP
|
||||
#if defined(_WIN32)
|
||||
#include <util/ostream_logger.hpp>
|
||||
#include <util/logging/ostream_logger.hpp>
|
||||
#define VC_EXTRALEAN
|
||||
#include <windows.h>
|
||||
|
Loading…
Reference in New Issue