make LogManager compatible with socket.io

add warn method to logger