Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iRMB
VirtualFluids
Commits
8425c95d
Commit
8425c95d
authored
2 years ago
by
Hkorb
Browse files
Options
Downloads
Patches
Plain Diff
correct args in logger bindings
parent
fad68e31
No related branches found
No related tags found
1 merge request
!170
Kernel templetization and efficiency improvements
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pythonbindings/pyfluids-stubs/bindings/basics/logger.pyi
+1
-1
1 addition, 1 deletion
pythonbindings/pyfluids-stubs/bindings/basics/logger.pyi
pythonbindings/src/basics/submodules/logger.cpp
+1
-1
1 addition, 1 deletion
pythonbindings/src/basics/submodules/logger.cpp
with
2 additions
and
2 deletions
pythonbindings/pyfluids-stubs/bindings/basics/logger.pyi
+
1
−
1
View file @
8425c95d
...
@@ -26,7 +26,7 @@ class Logger:
...
@@ -26,7 +26,7 @@ class Logger:
@staticmethod
@staticmethod
def
add_stdout
()
->
None
:
...
def
add_stdout
()
->
None
:
...
@staticmethod
@staticmethod
def
enable_printed_rank_numbers
()
->
None
:
...
def
enable_printed_rank_numbers
(
print
:
bool
)
->
None
:
...
@staticmethod
@staticmethod
def
set_debug_level
(
level
:
int
)
->
None
:
...
def
set_debug_level
(
level
:
int
)
->
None
:
...
@staticmethod
@staticmethod
...
...
This diff is collapsed.
Click to expand it.
pythonbindings/src/basics/submodules/logger.cpp
+
1
−
1
View file @
8425c95d
...
@@ -17,7 +17,7 @@ namespace logger
...
@@ -17,7 +17,7 @@ namespace logger
})
})
.
def_static
(
"set_debug_level"
,
&
logging
::
Logger
::
setDebugLevel
)
.
def_static
(
"set_debug_level"
,
&
logging
::
Logger
::
setDebugLevel
)
.
def_static
(
"time_stamp"
,
&
logging
::
Logger
::
timeStamp
,
py
::
arg
(
"time_stamp"
))
.
def_static
(
"time_stamp"
,
&
logging
::
Logger
::
timeStamp
,
py
::
arg
(
"time_stamp"
))
.
def_static
(
"enable_printed_rank_numbers"
,
&
logging
::
Logger
::
enablePrintedRankNumbers
);
.
def_static
(
"enable_printed_rank_numbers"
,
&
logging
::
Logger
::
enablePrintedRankNumbers
,
py
::
arg
(
"print"
)
);
loggerModule
.
attr
(
"log"
)
=
logging
::
out
;
loggerModule
.
attr
(
"log"
)
=
logging
::
out
;
py
::
enum_
<
logging
::
Logger
::
Level
>
(
loggerModule
,
"Level"
)
py
::
enum_
<
logging
::
Logger
::
Level
>
(
loggerModule
,
"Level"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment