CCF
Loading...
Searching...
No Matches
internal_logger.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include "ccf/ds/logger.h"
6
7// Defines the LOG_*_FMT macros that should be used for logging by
8// framework-internal components. Alternatively, replace with macros which add a
9// system-specific tag.
10
11namespace ccf::logger
12{
13#define LOG_TRACE_FMT CCF_LOG_FMT(TRACE, "")
14#define LOG_DEBUG_FMT CCF_LOG_FMT(DEBUG, "")
15#define LOG_INFO_FMT CCF_LOG_FMT(INFO, "")
16#define LOG_FAIL_FMT CCF_LOG_FMT(FAIL, "")
17#define LOG_FATAL_FMT CCF_LOG_FMT(FATAL, "")
18}
Definition logger.h:20