mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-10 17:26:52 +08:00
Add easy way to grab a logger.
This commit is contained in:
@@ -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