logging/backend: Change type of filename from string to const c… (#5078)

logging/backend: Change type of filename from string to const char*
This commit is contained in:
Tobias 2020-02-01 16:04:18 +01:00 committed by GitHub
commit 3a1c68accd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ struct Entry {
std::chrono::microseconds timestamp; std::chrono::microseconds timestamp;
Class log_class; Class log_class;
Level log_level; Level log_level;
std::string filename; const char* filename;
unsigned int line_num; unsigned int line_num;
std::string function; std::string function;
std::string message; std::string message;