-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report governance errors under
[gov]
tag (#5163)
- Loading branch information
1 parent
7a86c14
commit 77c2464
Showing
7 changed files
with
369 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the Apache 2.0 License. | ||
#pragma once | ||
|
||
#include "ccf/ds/logger.h" | ||
|
||
#ifdef VERBOSE_LOGGING | ||
# define GOV_TRACE_FMT CCF_LOG_FMT(TRACE, "gov") | ||
# define GOV_DEBUG_FMT CCF_LOG_FMT(DEBUG, "gov") | ||
#else | ||
# define GOV_TRACE_FMT(...) ((void)0) | ||
# define GOV_DEBUG_FMT(...) ((void)0) | ||
#endif | ||
|
||
#define GOV_INFO_FMT CCF_LOG_FMT(INFO, "gov") | ||
#define GOV_FAIL_FMT CCF_LOG_FMT(FAIL, "gov") | ||
#define GOV_FATAL_FMT CCF_LOG_FMT(FATAL, "gov") |
Oops, something went wrong.