A C++ library for logging very fast and without allocating.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
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);
}