KAA-177: Implement basic logger for C SDK.

Reviewers - Andrey Panasenko and Taras Lemkin.
Formats the log message and puts into into the sink.