Gets or sets the maximum length (in bytes) of the multi-line data (request to a server or response from a server) which will be inserted into the log without truncation.
An integer value containing the maximum length (in bytes) of the multi-line data (request to a server or response from a server) which will be inserted into the log without truncation. The default value is 256.
This property allows the developer to limit the maximum length of large textual data (such as client requests and server responses) to be inserted in the log. This parameter has no effect if logging is not used.
Note POP3 requests and SMTP responses are always printed into the log completely. This is because POP3 requests and SMTP responses are small, and all the information in this data is very important and should not be truncated.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | value is negative. |
Global Class | MailBee Namespace