8000 Add a minimal example on how to use the module · imcf/jython-scijava-logging@c3f3102 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3f3102

Browse files
committed
Add a minimal example on how to use the module
1 parent 3c74713 commit c3f3102

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

extra/scripts/minimal-example.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#@ LogService sjlog
2+
3+
import sjlogging
4+
5+
log = sjlogging.setup_logger(sjlog)
6+
7+
log.warn("warning")

0 commit comments

Comments
 (0)
0