mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
Add easy way to grab a logger.
This commit is contained in:
1 parent
b0d28687c9
commit
bd79e3741e
1 file changed
+4
@@ -25,3 +25,7 @@ test = _setup_test()
|
||||
if test is None:
|
||||
del test
|
||||
|
||||
def get_log(name):
|
||||
import logging, sys
|
||||
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
|
||||
return logging.getLogger(name)
|
||||
Reference in new issue
Block a user