Function initLogs

Initialize logging (for win32 and console - to file ui.log, for other platforms - stderr; log level is TRACE for debug builds, and WARN for release builds)

void initLogs();