From ea6c2504c5f2a6e2dfbacd85ba5fd9759fd671f0 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 26 Jun 2021 16:44:33 -0400 Subject: [PATCH] Add PDB level and make runtime below info but above debug --- tractor/log.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tractor/log.py b/tractor/log.py index e8327a3..5984f46 100644 --- a/tractor/log.py +++ b/tractor/log.py @@ -30,16 +30,17 @@ DATE_FORMAT = '%b %d %H:%M:%S' LEVELS = { 'GARBAGE': 1, 'TRACE': 5, - 'PROFILE': 15, - 'RUNTIME': 500, + 'RUNTIME': 15, + 'PDB': 500, 'QUIET': 1000, } STD_PALETTE = { 'CRITICAL': 'red', 'ERROR': 'red', - 'RUNTIME': 'white', + 'PDB': 'white', 'WARNING': 'yellow', 'INFO': 'green', + 'RUNTIME': 'white', 'DEBUG': 'white', 'TRACE': 'cyan', 'GARBAGE': 'blue',