xInfo.line Method [AX 2012]

Retrieves the number of lines in the Infolog buffer.

public int line()

Run On

Called

Return Value

Type: int
An integer that represents the number of lines in the Infolog buffer.

If you are running code on the server, use the xGlobal::infologLine method instead. It eliminates calls between the server and client.

To get the number of exceptions of a specific type in the Infolog, use the xInfo.num Method.

Community Additions

ADD
Show: