KAA-177: Implement basic logger for C SDK.

Reviewers - Andrey Panasenko and Taras Lemkin.
@param sink Destination file for the logs.