EDI Integrator 2016 Node.js Edition
EDI Integrator 2016 Node.js Edition
Questions / Feedback?

Log Event

Fires with log information during processing.

Syntax

as2sender.on('Log', [callback])

Callback

The 'callback' is called when the 'Log' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.logType
e.logMessage (buffer)

Remarks

This event fires during processing with log information. This may be used to obtain the same information that will be written to file if LogDirectory is specified, but without relying on files.

LogMessage holds the raw log data.

LogType indicates the type of log. Possible values are:

"LOG" Information about the status of the process.
"ERR" An error was encountered.
"DAT" The EDI payload.
"REQ" The raw request
"MDN" The MDN response.
"DEBUG" Debug information.
"DAT.INPUT" Debug information when processing payload. Only applicable when LogDebug is True.
"DAT.ENCRYPT" Debug information when processing payload. Only applicable when LogDebug is True.
"DAT.COMPRESS" Debug information when processing payload. Only applicable when LogDebug is True.
"DAT.SIGN" Debug information when processing payload. Only applicable when LogDebug is True.
"DAT.DECRYPT" Debug information when processing payload. Only applicable when LogDebug is True.
"DAT.DECOMPRESS" Debug information when processing payload. Only applicable when LogDebug is True.
"DAT.VERIFY" Debug information when processing payload. Only applicable when LogDebug is True.
"DAT.DEBUG" Debug information when processing payload. Only applicable when LogDebug is True.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
EDI Integrator 2016 Node.js Edition - Version 16.0 [Build 7240]