Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 356 Bytes

troubleshooting.md

File metadata and controls

13 lines (9 loc) · 356 Bytes

use logger

When a test fails, having the good information in the output makes all the difference. There is sweet spot between no info, and too much info, use your common sense!

from utils.tools import logger

...

logger.debug("Try to find span with ...")
logger.info("Found to find span with ...")
logger.error("Span is missing ...")