aboutsummaryrefslogtreecommitdiff
path: root/src/logging.h
diff options
context:
space:
mode:
authorklementtan <klementtan@gmail.com>2022-08-18 13:56:36 +0200
committerJon Atack <jon@atack.com>2022-08-20 11:31:28 +0200
commit9c7507bf76e79da99766a69df939520ea0a125d1 (patch)
tree404aea6dee76ebedbd132aff2d42490e71264ba0 /src/logging.h
parent8fe3457dbb4146952b92fb9509bbe4e97dc1f05b (diff)
downloadbitcoin-9c7507bf76e79da99766a69df939520ea0a125d1.tar.xz
Create BCLog::Logger::LogLevelsString() helper function
Co-authored-by: "Jon Atack <jon@atack.com>"
Diffstat (limited to 'src/logging.h')
-rw-r--r--src/logging.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logging.h b/src/logging.h
index 76bed39e91..680eb47f4b 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -186,6 +186,9 @@ namespace BCLog {
return Join(LogCategoriesList(), ", ", [&](const LogCategory& i) { return i.category; });
};
+ //! Returns a string with all user-selectable log levels.
+ std::string LogLevelsString() const;
+
bool DefaultShrinkDebugFile() const;
};