mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
12f36debae
Make tests support empty SPDLOG_EOL
18 lines
451 B
C++
18 lines
451 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
std::size_t count_files(const std::string &folder);
|
|
|
|
void prepare_logdir();
|
|
|
|
std::string file_contents(const std::string &filename);
|
|
|
|
std::size_t count_lines(const std::string &filename);
|
|
|
|
void require_message_count(const std::string &filename, const std::size_t messages);
|
|
|
|
std::size_t get_filesize(const std::string &filename);
|
|
|
|
bool ends_with(std::string const &value, std::string const &ending); |