diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-10-13 15:04:21 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-10-13 15:04:21 -0400 |
commit | 3a51417b34eee4cead0d7076598edd61469d8a21 (patch) | |
tree | b41b32d65faf231dd6d8b310288a20baf8750a19 /qolab | |
parent | 145fb89359d0b89145cdc9dd579b981a12b4d71c (diff) | |
download | qolab-3a51417b34eee4cead0d7076598edd61469d8a21.tar.gz qolab-3a51417b34eee4cead0d7076598edd61469d8a21.zip |
added logger
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scope/sds800xhd.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qolab/hardware/scope/sds800xhd.py b/qolab/hardware/scope/sds800xhd.py index f1e0d98..9fd67df 100644 --- a/qolab/hardware/scope/sds800xhd.py +++ b/qolab/hardware/scope/sds800xhd.py @@ -11,6 +11,15 @@ import numpy as np import scipy.signal from pyvisa.constants import InterfaceType +import logging + +logging.basicConfig( + format="%(asctime)s %(levelname)8s %(name)s: %(message)s", + datefmt="%m/%d/%Y %H:%M:%S", +) +logger = logging.getLogger(__name__) +logger.setLevel(logging.INFO) + class SDS800XHD(SDS1104X): """Siglent SDS800XHD scope""" |