A C++ library for logging very fast and without allocating.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

18 rader
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. }