-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test to check if logger works from embedded Python code
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# The python code in this file does the same as ACT-01 to ACT-05 of opm-tests/actionx/ACTIONX_WCONPROD.DATA | ||
import opm_embedded | ||
|
||
opm_embedded.OpmLog.info("Info from logger.py!") | ||
opm_embedded.OpmLog.warning("Warning from logger.py!") | ||
opm_embedded.OpmLog.error("Error from logger.py!") | ||
opm_embedded.OpmLog.problem("Problem from logger.py!") | ||
opm_embedded.OpmLog.bug("Bug from logger.py!") | ||
opm_embedded.OpmLog.debug("Debug from logger.py!") | ||
opm_embedded.OpmLog.note("Note from logger.py!") |
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