aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/__init__.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-09-29 16:30:20 +0800
committerAaron LI <aaronly.me@outlook.com>2016-09-29 16:30:20 +0800
commit60ec4145bbb402da4912d11ee7eaea70b85322bc (patch)
tree521be22e2486a2f8afb71466366d3ed56fcc38d2 /fg21sim/utils/__init__.py
parentb95f5c7b4941bf32cf5ea712db421bca41360ce0 (diff)
downloadfg21sim-60ec4145bbb402da4912d11ee7eaea70b85322bc.tar.bz2
Add utility "setup_logging()" to setup/update logging
This "setup_logging()" utility can setup the logging module with the given configuration dict, and can also update the logging configs by specify the additional parameters.
Diffstat (limited to 'fg21sim/utils/__init__.py')
-rw-r--r--fg21sim/utils/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/utils/__init__.py b/fg21sim/utils/__init__.py
index 3548b3f..650ab37 100644
--- a/fg21sim/utils/__init__.py
+++ b/fg21sim/utils/__init__.py
@@ -2,3 +2,4 @@
# MIT license
from .healpix import healpix2hpx, hpx2healpix
+from .logging import setup_logging