I'd like to make the line numbers of the logger statement colored. As far as I've found out, I have to write a complete new code for that [1]. Is there any shorter way to make lines of following logger colored? i.e change the %(lineno)d' part so Terminal would have colors in line numbers. Thanks. 
logging.basicConfig(level=logging.DEBUG,
       format='%(name)-12s %(funcName)s() %(message)s %(lineno)d')  
logger = logging.getLogger(__name__)
[1] Python Colorlog not printing in the log files with colors