Changeset eb4459c in ammosreader


Ignore:
Timestamp:
05/18/23 15:31:28 (2 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
dc38d9b
Parents:
19f5ce5
Message:

another try to get logging right

Location:
ammosreader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ammosreader/PDW.py

    r19f5ce5 reb4459c  
    44import math
    55import numpy as np
    6 
     6from ammosreader import logger
    77
    88class PDW():
     
    2525        """
    2626        if (len(byte_string) != 32):
     27            logger.error("Byte count invalid")
    2728            raise TypeError("Byte count invalid")
    2829
  • ammosreader/__init__.py

    r19f5ce5 reb4459c  
    2424
    2525logger = logging.getLogger(__name__)
     26
Note: See TracChangeset for help on using the changeset viewer.