You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The colourful output logs are really nice, but the colour of WARNING is black. Many people (including myself) have black terminals, and I didn't realise that some of the WARNING level messages were warnings until I copied and pasted the text and happened to see this pop up!
I would suggest maybe changing to red, as only the sickest of people would have an #ff0000 background in their terminal.
The text was updated successfully, but these errors were encountered:
Actually every INFO/DEBUG/WARNING/ERROR labels are black. I don't find how to set them with the same color of the messager individually, but I propose to set them as white.
from spectractor.config import set_logger
from spectractor import parameters
class Test:
def __init__(self):
self.my_logger = set_logger(self.__class__.__name__)
def log(self):
self.my_logger.info('This info test function works.')
self.my_logger.debug('This debug test function works.')
self.my_logger.warning('This warning test function works.')
parameters.VERBOSE = True
parameters.DEBUG = True
test = Test()
The colourful output logs are really nice, but the colour of
WARNING
is black. Many people (including myself) have black terminals, and I didn't realise that some of the WARNING level messages were warnings until I copied and pasted the text and happened to see this pop up!I would suggest maybe changing to red, as only the sickest of people would have an #ff0000 background in their terminal.
The text was updated successfully, but these errors were encountered: