Code cleanup

- hide liblog internal types;
- translate comments into English language;
- fix logging level per compile time (preprocessor don't use enums)