diff --git a/visualdl/__init__.py b/visualdl/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..f91720ab47353c1f2c760297d915963310326c2d --- /dev/null +++ b/visualdl/__init__.py @@ -0,0 +1,9 @@ +import log +import tensorboard +import timer +import util + +__all__ = [ + 'log', + 'util' +] diff --git a/visualdl/log.py b/visualdl/log.py new file mode 100644 index 0000000000000000000000000000000000000000..5199e96e2dc3b8315e0ada1e424873f01260bd26 --- /dev/null +++ b/visualdl/log.py @@ -0,0 +1,7 @@ +import logging + +logger = logging + +logger.basicConfig( + format='[%(levelname)s %(asctime)s %(filename)s:%(lineno)s] %(message)s') +logger.getLogger().setLevel(logging.INFO)