refactor: Remove unused error()
This commit is contained in:
1 file changed
-6
@@ -263,10 +263,4 @@ static inline void LogPrintf_(const std::string& logging_function, const std::st
|
|||||||
// Deprecated conditional logging
|
// Deprecated conditional logging
|
||||||
#define LogPrint(category, ...) LogDebug(category, __VA_ARGS__)
|
#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
|
#endif // BITCOIN_LOGGING_H
|
||||||
Reference in new issue
Block a user