/// <summary> /// Gets infolog content /// </summary> /// <returns>infolog string</returns> public static str getErrorStr(container _cont) { SysInfologEnumerator enumerator; SysInfologMessageStruct myStruct; Exception exception; str error; enumerator = SysInfologEnumerator::newData(_cont); while (enumerator.moveNext()) { myStruct = new SysInfologMessageStruct(enumerator.currentMessage()); exception = enumerator.currentException(); error = strfmt('%1 %2', error, myStruct.message()); } return error; }
Saturday, November 26, 2022
Get Infolog as a string
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment