[logging] moved definition into cmakelists;
[logging] fixed some logging issues;
[logging] added logger component for init;