diff --git a/utils/Log/include/ILog.h b/utils/Log/include/ILog.h index 9554c8b9..4755f8e2 100644 --- a/utils/Log/include/ILog.h +++ b/utils/Log/include/ILog.h @@ -65,7 +65,6 @@ extern "C" #define LOGE(...) #define LOGF(...) #endif - typedef struct i_log ILog; typedef struct i_log { void (*init)(ILog *, const enum LogInstance); diff --git a/utils/Log/include/ILogCpp.h b/utils/Log/include/ILogCpp.h index 36739a90..cb82656e 100644 --- a/utils/Log/include/ILogCpp.h +++ b/utils/Log/include/ILogCpp.h @@ -16,6 +16,11 @@ #define ILOGCPP_H #include "ILog.h" #include +/** + * @brief Abstract interface class + * If you want to add additional functions, you can derive a class from it to + * meet the product requirements. + */ class ILogCpp { public: diff --git a/utils/Log/src/ILogMakePtr.h b/utils/Log/src/ILogMakePtr.h index 07cb58d2..ae3737c3 100644 --- a/utils/Log/src/ILogMakePtr.h +++ b/utils/Log/src/ILogMakePtr.h @@ -12,6 +12,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** + * @brief Create a log instance + * + */ #ifndef ILOG_MAKE_PTR_H #define ILOG_MAKE_PTR_H #include "ILogCpp.h" diff --git a/utils/Log/src/easyloggingpp/default-logger.conf b/utils/Log/src/easyloggingpp/default-logger.conf index 9e34afd2..f847709a 100644 --- a/utils/Log/src/easyloggingpp/default-logger.conf +++ b/utils/Log/src/easyloggingpp/default-logger.conf @@ -22,4 +22,4 @@ ENABLED = false FILENAME = "/tmp/logs/myeasylog-configuration.cpp-error.log" * FATAL: - ENABLED = false + ENABLED = false \ No newline at end of file