TweeZcodeCompiler / twee_zcode_compiler

compiler project at FU Berlin
MIT License
3 stars 0 forks source link

Logger #32

Closed xmxanuel closed 9 years ago

xmxanuel commented 9 years ago

hi,

i added a logger to the project:

Link to the logger Framework: https://github.com/SergiusTheBest/plog

Very important: you have to add the plog folder to our local c++ libaries add the plog folder to: /usr/local/include

example Log:

LOG_DEBUG << "hello logger";

xmxanuel commented 9 years ago

CLion thinks the Logging Command is an error. found issue already on ticketsystem of Clion. everything works fine. we just need to change the inspector in case we would get to much annoyed from the wrong red line.

Philip-The-Developer commented 9 years ago

The Framework workes fine, but:

The red lines are very annoying. How can we change the inspector? Can you please exchange all cout << with LOG_DEBUG <<? Then it is uniform.

ottne commented 9 years ago

I found a workaround for the static analyzer errors in 679dc32, but it required me to change the library itself a bit :(