kernelsauce / turbo

Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
http://turbo.readthedocs.io/
Apache License 2.0
528 stars 84 forks source link

Reset terminal color in turbo.log #126

Closed enotodden closed 10 years ago

enotodden commented 10 years ago

We were using the escape '[37m' (white) to reset the terminal color after printing the message in log.* functions. Changed this to '[0m' (reset) since not everyone has a white font in their terminal.

The terminal will now be reset to the original font color after a turbo.log.*()