Super simple C logger