Monkeypatched string for color
Refactored to use logger
Global logger variable