Skip to content

Commit

Permalink
Update docs/extending.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sarthak Pati <[email protected]>
  • Loading branch information
benmalef and sarthakpati authored Aug 14, 2024
1 parent fa408a3 commit 476a7b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/extending.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def my_new_cool_function(df: pd.DataFrame):
logging.debug("Message for debug file only")
logging.info("Hi GaNDLF user, I greet you in the CLI output")
logging.error(f"A detailed message about any error if needed. Exception: {str(e)}, params: {params}, df shape: {df.shape}")
# print("Hi GaNDLF user!") # don't use prints please.
# do NOT use normal print statements
# print("Hi GaNDLF user!")
```

Here is an example how logger can be used:
Expand Down

0 comments on commit 476a7b9

Please sign in to comment.