Added Log Class

Changed to macros for performance. Less function calls and stuff.