try catch errors when writing in logs
UString::truncate()
auto comments for enum fields