logError() are made non-inlinable; logErrorMsg() is introduced.