mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 21:57:46 +00:00
easylogging++: avoid creating directory/filename for the builtin default log file
This commit is contained in:
parent
2836284798
commit
0af5d16872
1 changed files with 2 additions and 0 deletions
2
external/easylogging++/easylogging++.h
vendored
2
external/easylogging++/easylogging++.h
vendored
|
@ -3182,6 +3182,8 @@ namespace base {
|
||||||
}
|
}
|
||||||
|
|
||||||
void insertFile(Level level, const std::string& fullFilename) {
|
void insertFile(Level level, const std::string& fullFilename) {
|
||||||
|
if (fullFilename.empty())
|
||||||
|
return;
|
||||||
std::string resolvedFilename = resolveFilename(fullFilename);
|
std::string resolvedFilename = resolveFilename(fullFilename);
|
||||||
if (resolvedFilename.empty()) {
|
if (resolvedFilename.empty()) {
|
||||||
std::cerr << "Could not load empty file for logging, please re-check your configurations for level ["
|
std::cerr << "Could not load empty file for logging, please re-check your configurations for level ["
|
||||||
|
|
Loading…
Reference in a new issue