Skip to content

Commit

Permalink
feat: adding logging
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jan 8, 2025
1 parent e60c38d commit 10a7268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ansys/mapdl/core/mapdl_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2919,6 +2919,7 @@ def _check_mapdl_os(self):
self._platform = "windows"
else: # pragma: no cover
raise MapdlRuntimeError("Unknown platform: {}".format(platform))
self.logger.debug(f"MAPDL is running on {self._platform} OS.")

def _check_on_docker(self):
"""Check if MAPDL is running on docker."""
Expand Down
1 change: 1 addition & 0 deletions src/ansys/mapdl/core/mapdl_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2040,6 +2040,7 @@ def _get_time_step_stream(
"``time_step_stream`` argument must be greater than 0``"
)

self.logger.debug(f"The time_step_stream argument is set to: {time_step}")
return time_step

def _get_file_path(self, fname: str, progress_bar: bool = False) -> str:
Expand Down

0 comments on commit 10a7268

Please sign in to comment.