Logging: Fix broken logging macros.
authorTom Hacohen <tom@stosb.com>
Mon, 22 Jun 2015 14:37:13 +0000 (15:37 +0100)
committerTom Hacohen <tom@stosb.com>
Mon, 22 Jun 2015 14:39:58 +0000 (15:39 +0100)
commitba82d226929434eef20908a0a4bde5e5a2ba140f
treea473bbeac705b3b7bd91776dce32afd9bd7120f0
parentb1b407ef220331f58bb367d36a5046f6d82033fd
Logging: Fix broken logging macros.

This is macro 101, you don't EVER put multiple statements in a macro
like that.
See Chris's commits, these broken macros already introduced (subtle)
bugs. Always surround macros in "do {} while()" unless you absolutely
can't (like when you declare a new variable to be used in the scope).

Why is it even there? I think we can safely assume eina log is available
for usage in E...

@fix
src/bin/e_log.h