> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-kalipso-to-mss/utils/ext_log_savelog.md).

# EXT\_Log\_SaveLog

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
