KAA-177: Implement basic logger for C SDK.

Reviewers - Andrey Panasenko and Taras Lemkin.
the message will be truncated to match @link KAA_MAX_LOG_MESSAGE_LENGTH @endlink.</p>