A logger widget for napari.
print
, logging
, matplotlib
outputs can be optionally streamed to this widget. No need to rewrite your codes!
This plugin also provides a magicgui Logger
widget. You can integrate logger in your plugins.
from napari_logger import Logger
from magicgui.widgets import Container
container = Container()
logger = Logger()
container.append(logger)
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
You can install napari-logger
via pip:
pip install napari-logger
To install latest development version :
pip install git+https://github.com/hanjinliu/napari-logger.git
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
Distributed under the terms of the BSD-3 license, "napari-logger" is free and open source software
If you encounter any problems, please file an issue along with a detailed description.