Skip to content

Commit a188a87

Browse files
committed
expand logging instructions
1 parent c398423 commit a188a87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,14 @@ There are different environment files available that only install tensorflow or
361361

362362
`bioimageio.spec` and `bioimageio.core` use [loguru](https://github.com/Delgan/loguru) for logging, hence the logging level
363363
may be controlled with the `LOGURU_LEVEL` environment variable.
364+
The `bioimageio` CLI has logging enabled by default.
365+
To activate logging when using bioimageio.spec/bioimageio.core as a library, add
366+
367+
```python
368+
from loguru import logger
369+
370+
logger.enable("bioimageio")
371+
```
364372

365373
## Changelog
366374

0 commit comments

Comments
 (0)