Yarilo v0.9.9
WPA2 Decrypter & Packet Analyzer
Loading...
Searching...
No Matches
log_sink.h File Reference
#include "log_queue.h"
#include "proto/service.pb.h"
#include <google/protobuf/util/time_util.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/logger.h>
#include <spdlog/sinks/base_sink.h>
#include <spdlog/sinks/sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>

Go to the source code of this file.

Classes

class  yarilo::log::ProtoSink< Mutex >
 A sink for logging messages in a protobuf format. More...
 

Namespaces

namespace  yarilo
 
namespace  yarilo::log
 

Typedefs

using yarilo::log::ProtoSinkMt = ProtoSink<std::mutex>
 Mutex-based ProtoSink for multi-threaded environments.
 
using yarilo::log::ProtoSinkSt = ProtoSink<spdlog::details::null_mutex>
 Null mutex-based ProtoSink for single-threaded environments.
 

Functions

std::shared_ptr< spdlog::logger > yarilo::log::get_logger (const std::string &name)