fix(logging): fix highlighting

main
Marshall Hallenbeck 2023-03-30 08:56:51 -04:00
parent 8aefa68279
commit 025451ca04
1 changed files with 2 additions and 2 deletions

View File

@ -164,9 +164,9 @@ class CMEAdapter(logging.LoggerAdapter):
except AttributeError:
pass
msg, kwargs = self.process(u'{}'.format(colored(msg, 'yellow', attrs=['bold'])), kwargs)
msg, kwargs = self.format(u'{}'.format(colored(msg, 'yellow', attrs=['bold'])), kwargs)
text = Text.from_ansi(msg)
self.display(text, *args, **kwargs)
cme_console.print(text, *args, **kwargs)
# For Impacket's TDS library
def logMessage(self, message):