Slim down `ndncert-common.hpp`
Change-Id: Ifba0966d3787c5cbf770963b82cba054ee1fe791
diff --git a/src/detail/error-encoder.cpp b/src/detail/error-encoder.cpp
index 09197c9..db2b1ca 100644
--- a/src/detail/error-encoder.cpp
+++ b/src/detail/error-encoder.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2017-2023, Regents of the University of California.
+ * Copyright (c) 2017-2024, Regents of the University of California.
*
* This file is part of ndncert, a certificate management system based on NDN.
*
@@ -20,10 +20,12 @@
#include "detail/error-encoder.hpp"
-NDN_LOG_INIT(ndncert.encode.error);
+#include <ndn-cxx/util/logger.hpp>
namespace ndncert::errortlv {
+NDN_LOG_INIT(ndncert.encode.error);
+
Block
encodeDataContent(ErrorCode errorCode, const std::string& description)
{