-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Log level documentation on remaining package #3494
Open
arng40
wants to merge
35
commits into
develop
Choose a base branch
from
feature/dudes/log-level-doc-package
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 26 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1010335
apply loglevel documentation
arng40 d87fee3
.
arng40 c45a391
Merge remote-tracking branch 'origin/develop' into feature/dudes/log-…
arng40 d532634
fix merge
arng40 fc7135d
code style
arng40 1c7408c
updating log level after merging with develop
arng40 c8875a3
Merge remote-tracking branch 'origin/develop' into feature/dudes/log-…
arng40 043c61f
missing hpp
arng40 db94d91
Merge remote-tracking branch 'origin/develop' into feature/dudes/log-…
arng40 6869ee8
1st review pass, (renaming, update logLevel, move struct)
arng40 ac55ebd
clean some hpp
arng40 7e9c55d
xsd
arng40 7f078ad
spelling
arng40 e08a804
Merge remote-tracking branch 'origin/develop' into feature/dudes/log-…
arng40 b1e5f2c
fix merge
arng40 a747eab
removed old macros
arng40 2c88cc0
remove last old macro
arng40 a3f0c85
missing logLevel
arng40 623ba07
remove loglevel from hpp
arng40 f797fa1
lr
arng40 ef00e8d
lr + uncrustify
arng40 511fee4
lr
arng40 5d54048
remove unused header
arng40 a902a35
centralize logLevel under package
arng40 1e58f54
update hpp
arng40 17c39ef
code style
arng40 e758442
set LogLevel to the corresponding folders
arng40 5280ea4
add log rst
arng40 d3fc9c1
spelling rst
arng40 3b9b3f9
add to toctree
arng40 e5b74bc
update rst
arng40 739d2d4
Merge remote-tracking branch 'origin/develop' into feature/dudes/log-…
arng40 745cfa8
missing log level after merge
arng40 5614b9a
xsd
arng40 6053fe2
remove old addLevelMechanics
arng40 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,51 @@ | ||
/* | ||
* ------------------------------------------------------------------------------------------------------------ | ||
* SPDX-License-Identifier: LGPL-2.1-only | ||
* | ||
* Copyright (c) 2018-2020 Lawrence Livermore National Security LLC | ||
* Copyright (c) 2018-2020 The Board of Trustees of the Leland Stanford Junior University | ||
* Copyright (c) 2018-2020 TotalEnergies | ||
* Copyright (c) 2019- GEOSX Contributors | ||
* All rights reserved | ||
* | ||
* See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details. | ||
* ------------------------------------------------------------------------------------------------------------ | ||
*/ | ||
|
||
/** | ||
* @file LogLevelsInfo.hpp | ||
* This file contains common log level informations for physics solvers | ||
*/ | ||
|
||
#ifndef GEOS_EVENTS_LOGLEVELSINFO_HPP | ||
#define GEOS_EVENTS_LOGLEVELSINFO_HPP | ||
|
||
#include "common/DataTypes.hpp" | ||
|
||
namespace geos | ||
{ | ||
|
||
namespace logInfo | ||
{ | ||
|
||
/** | ||
* @name Common LogLevels info structures. They must comply with the `is_log_level_info` trait. | ||
*/ | ||
///@{ | ||
|
||
/// @cond DO_NOT_DOCUMENT | ||
|
||
struct EventExecution | ||
{ | ||
static constexpr int getMinLogLevel() { return 1; } | ||
MelReyCG marked this conversation as resolved.
Show resolved
Hide resolved
|
||
static constexpr std::string_view getDescription() { return "Informations on events execution"; } | ||
}; | ||
|
||
/// @endcond | ||
///@} | ||
|
||
} | ||
|
||
} | ||
|
||
#endif // GEOS_EVENTS_LOGLEVELSINFO_HPP |
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,70 @@ | ||||||||||||||||||||||
/* | ||||||||||||||||||||||
* ------------------------------------------------------------------------------------------------------------ | ||||||||||||||||||||||
* SPDX-License-Identifier: LGPL-2.1-only | ||||||||||||||||||||||
* | ||||||||||||||||||||||
* Copyright (c) 2018-2020 Lawrence Livermore National Security LLC | ||||||||||||||||||||||
* Copyright (c) 2018-2020 The Board of Trustees of the Leland Stanford Junior University | ||||||||||||||||||||||
* Copyright (c) 2018-2020 TotalEnergies | ||||||||||||||||||||||
* Copyright (c) 2019- GEOSX Contributors | ||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||
* All rights reserved | ||||||||||||||||||||||
* | ||||||||||||||||||||||
* See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details. | ||||||||||||||||||||||
* ------------------------------------------------------------------------------------------------------------ | ||||||||||||||||||||||
*/ | ||||||||||||||||||||||
|
||||||||||||||||||||||
/** | ||||||||||||||||||||||
* @file LogLevelsInfo.hpp | ||||||||||||||||||||||
* This file contains common log level informations for physics solvers | ||||||||||||||||||||||
*/ | ||||||||||||||||||||||
|
||||||||||||||||||||||
#ifndef GEOS_FILEIO_LOGLEVELSINFO_HPP | ||||||||||||||||||||||
#define GEOS_FILEIO_LOGLEVELSINFO_HPP | ||||||||||||||||||||||
|
||||||||||||||||||||||
#include "common/DataTypes.hpp" | ||||||||||||||||||||||
|
||||||||||||||||||||||
namespace geos | ||||||||||||||||||||||
{ | ||||||||||||||||||||||
|
||||||||||||||||||||||
namespace logInfo | ||||||||||||||||||||||
{ | ||||||||||||||||||||||
|
||||||||||||||||||||||
/** | ||||||||||||||||||||||
* @name Common LogLevels info structures. They must comply with the `is_log_level_info` trait. | ||||||||||||||||||||||
*/ | ||||||||||||||||||||||
///@{ | ||||||||||||||||||||||
|
||||||||||||||||||||||
/// @cond DO_NOT_DOCUMENT | ||||||||||||||||||||||
|
||||||||||||||||||||||
struct DataCollectorInitialization | ||||||||||||||||||||||
{ | ||||||||||||||||||||||
static constexpr int getMinLogLevel() { return 3; } | ||||||||||||||||||||||
static constexpr std::string_view getDescription() { return "Information on Time history Initialization"; } | ||||||||||||||||||||||
}; | ||||||||||||||||||||||
|
||||||||||||||||||||||
struct ChomboIOInitialization | ||||||||||||||||||||||
{ | ||||||||||||||||||||||
static constexpr int getMinLogLevel() { return 1; } | ||||||||||||||||||||||
MelReyCG marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
static constexpr std::string_view getDescription() { return "Information on chomboIO coupling Initialization"; } | ||||||||||||||||||||||
}; | ||||||||||||||||||||||
|
||||||||||||||||||||||
struct OutputEvents | ||||||||||||||||||||||
{ | ||||||||||||||||||||||
static constexpr int getMinLogLevel() { return 2; } | ||||||||||||||||||||||
static constexpr std::string_view getDescription() { return "Information on output events (VTK/ChomboIO/HDF5)"; } | ||||||||||||||||||||||
}; | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
struct HDF5Writing | ||||||||||||||||||||||
{ | ||||||||||||||||||||||
static constexpr int getMinLogLevel() { return 3; } | ||||||||||||||||||||||
static constexpr std::string_view getDescription() { return "Information on buffered data in an HDF5 file "; } | ||||||||||||||||||||||
}; | ||||||||||||||||||||||
|
||||||||||||||||||||||
/// @endcond | ||||||||||||||||||||||
///@} | ||||||||||||||||||||||
|
||||||||||||||||||||||
} | ||||||||||||||||||||||
|
||||||||||||||||||||||
} | ||||||||||||||||||||||
|
||||||||||||||||||||||
#endif // GEOS_FILEIO_LOGLEVELSINFO_HPP |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.