# EXT\_Log\_SaveLog

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/utils/ext_log_savelog
>
> EXT_Log_SaveLog grava uma mensagem na tabela de logs do MSS, com detalhes, estado, referência a documentos e informação adicional.

Function used to save a log message in MSS Logs table.

_Input parameters:_

* inLogMessage – Message to be saved;
* inLogDetails – Additional details;
* inLogReferenceInformation – Referring to… (this field is used only in the integration which stores de information of the documents in case of an error);
* inLogStatus – Status code (1 - Error / 2 - Information);
* inLogParent – Used to relate Log messages (LOGSTP of the main log record);
* inLogDocumentExercise – Document exercise (when referring documents);
* inLogDocumentType – Document type (when referring documents);
* inLogDocumentSeries – Document series (when referring documents);
* inLogDocumentNumber – Document number (when referring documents);
* inLogDocumentLine – Document line (when referring documents);
* inLogAdditionalInformation1 – Additional information 1;
* inLogAdditionalInformation2 – Additional information 2;
* inLogAdditionalInformation3 – Additional information 3;
* inLogAdditionalInformation4 – Additional information 4;
* inLogAdditionalInformation5  – Additional information 5;

_Output parameters_:

* n/a
