mirror of
https://github.com/KjellKod/g3log.git
synced 2025-03-01 02:56:55 +01:00
reverted file parameter to std::string reference, adjusted formatting
This commit is contained in:
parent
793ddbd42e
commit
8d01c2224d
@ -76,7 +76,7 @@ namespace g3 {
|
||||
LogMessage& operator=(LogMessage other);
|
||||
|
||||
|
||||
LogMessage(const char * file, const int line, const std::string& function, const LEVELS& level);
|
||||
LogMessage(const std::string& file, const int line, const std::string& function, const LEVELS& level);
|
||||
|
||||
explicit LogMessage(const std::string& fatalOsSignalCrashMessage);
|
||||
LogMessage(const LogMessage& other);
|
||||
@ -90,7 +90,7 @@ namespace g3 {
|
||||
timespec _timestamp;
|
||||
std::thread::id _call_thread_id;
|
||||
std::string _file;
|
||||
std::string _file_path;
|
||||
std::string _file_path;
|
||||
int _line;
|
||||
std::string _function;
|
||||
LEVELS _level;
|
||||
|
@ -123,7 +123,7 @@ namespace g3 {
|
||||
}
|
||||
|
||||
|
||||
LogMessage::LogMessage(const char * file, const int line,
|
||||
LogMessage::LogMessage(const std::string& file, const int line,
|
||||
const std::string& function, const LEVELS& level)
|
||||
: _call_thread_id(std::this_thread::get_id())
|
||||
, _file(splitFileName(file))
|
||||
|
Loading…
x
Reference in New Issue
Block a user