A C++ library for logging very fast and without allocating.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

18 wiersze
571 B

  1. #pragma once
  2. #include <cstdint>
  3. #include <cstddef>
  4. #include <string_view>
  5. #include <string>
  6. #include <functional>
  7. #include <any>
  8. #include "sl/strategies.h"
  9. namespace sl {
  10. template<BufferStrategy b_strategy_t, SinkStrategy s_strategy_t, OverflowStrategy over_strategy_t, OutputStrategy out_strategy_t>
  11. void register_log(int log_id, std::string_view log_name, std::string_view buffer_filename, uint64_t buffer_size,
  12. uint64_t out_strategy_parameter, std::string_view output_directory);
  13. void process_log_config(const std::string_view& filename);
  14. }