A C++ library for logging very fast and without allocating.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

18 lignes
571 B

#pragma once
#include <cstdint>
#include <cstddef>
#include <string_view>
#include <string>
#include <functional>
#include <any>
#include "sl/strategies.h"
namespace sl {
template<BufferStrategy b_strategy_t, SinkStrategy s_strategy_t, OverflowStrategy over_strategy_t, OutputStrategy out_strategy_t>
void register_log(int log_id, std::string_view log_name, std::string_view buffer_filename, uint64_t buffer_size,
uint64_t out_strategy_parameter, std::string_view output_directory);
void process_log_config(const std::string_view& filename);
}