aboutsummaryrefslogtreecommitdiff
path: root/src/logging.h
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-01-11 19:49:52 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-03-11 13:49:51 +0100
commitfa391513949b7a3b56321436e2015c7e9e6dac2b (patch)
tree4e4d942d79b6c38ee83b4942f126a1660ba1b1fa /src/logging.h
parentfad0335517096f435d76adce7833e213d3cc23d1 (diff)
downloadbitcoin-fa391513949b7a3b56321436e2015c7e9e6dac2b.tar.xz
refactor: Remove unused error()
Diffstat (limited to 'src/logging.h')
-rw-r--r--src/logging.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/logging.h b/src/logging.h
index abeb959215..eef70dd20f 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -263,10 +263,4 @@ static inline void LogPrintf_(const std::string& logging_function, const std::st
// Deprecated conditional logging
#define LogPrint(category, ...) LogDebug(category, __VA_ARGS__)
-template <typename... Args>
-void error(const char* fmt, const Args&... args)
-{
- LogPrintf("ERROR: %s\n", tfm::format(fmt, args...));
-}
-
#endif // BITCOIN_LOGGING_H