blob: 0c8f2f5646f5c5cd60a559368b651388ae0974e1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
"""Debug utilities"""
import logging
logger = logging.getLogger(__name__)
def __pk__(value, title="DEBUG"):
"""Peek the value and return it."""
logger.debug("%s: %s", title, value)
return value
|