Skip to content

Commit

Permalink
fix wrong Logbuffer variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-barge committed Jan 13, 2024
1 parent 503d8a0 commit 5b86bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eophis/utils/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def info(message='',writer=Paral.MASTER):
message (str): message to be logged
writer (int): optional, rank of process that shall write
"""
if Logbuffer.store:
Logbuffer.content.append(message)
if _Logbuffer.store:
_Logbuffer.content.append(message)
else:
_logger_info.info(message) if Paral.RANK == writer else None

Expand Down

0 comments on commit 5b86bb1

Please sign in to comment.