aboutsummaryrefslogtreecommitdiff
path: root/src/logging.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-07-22 16:35:22 +0200
committerJon Atack <jon@atack.com>2021-07-22 23:09:42 +0200
commit7c57297319bc386afaf06528778384fe58576ef9 (patch)
tree9c280d5ef9e282f9577f060b09e61fa46f576b90 /src/logging.h
parentf720cfa824f1be863349e7016080f8fb1c3c76c2 (diff)
log: sort LogCategoriesList and LogCategoriesString alphabetically
Diffstat (limited to 'src/logging.h')
-rw-r--r--src/logging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logging.h b/src/logging.h
index d04bc99268..38d73863e7 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -138,9 +138,9 @@ namespace BCLog {
bool DisableCategory(const std::string& str);
bool WillLogCategory(LogFlags category) const;
- /** Returns a vector of the log categories */
+ /** Returns a vector of the log categories in alphabetical order. */
std::vector<LogCategory> LogCategoriesList() const;
- /** Returns a string with the log categories */
+ /** Returns a string with the log categories in alphabetical order. */
std::string LogCategoriesString() const
{
return Join(LogCategoriesList(), ", ", [&](const LogCategory& i) { return i.category; });