summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/log.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/log.hpp b/src/log.hpp
index 8f74847..9b5a09d 100644
--- a/src/log.hpp
+++ b/src/log.hpp
@@ -23,7 +23,7 @@
namespace mastodonpp
{
-using std::cerr; // NOLINT(misc-unused-using-decls)
+using std::cerr; // NOLINT(misc-unused-using-decls)
using std::string_view;
//! @private
@@ -41,17 +41,17 @@ constexpr auto shorten_filename(const string_view &filename)
}
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
-#define commonlog cerr << '[' << shorten_filename(__FILE__) \
- << ':' << __LINE__ << ']'
+#define commonlog \
+ cerr << '[' << shorten_filename(__FILE__) << ':' << __LINE__ << ']'
#ifndef NDEBUG
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
-#define debuglog commonlog << " DEBUG: "
+# define debuglog commonlog << " DEBUG: "
#else
- #define debuglog false && cerr
+# define debuglog false && cerr
#endif
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define errorlog commonlog << " ERROR: "
} // namespace mastodonpp
-#endif // MASTODONPP_LOG_HPP
+#endif // MASTODONPP_LOG_HPP