Added log syntax
Added CONSOLE constants
Changed to BEGIN_LOG constants