readLogTail


Purpose

Returns a defined number of last log records in a string array. To operate, it requires the logToFile property to be set to "true".

Signature

readLogTail(recordCount, callback)

Parameter

Name Description Type Use
recordCount A number of records to be returned in the string array. integer required
callback A callback function to return a string array containing the tail of the log file. function required

Related topics

Logger
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...