Skip to content

Commit

Permalink
refactor: Remove unused error()
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Jan 11, 2024
1 parent fa536fc commit fa3b64f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fa3b64f

Please sign in to comment.