Skip to content

Messages

coding_jackalope edited this page Aug 30, 2020 · 1 revision
Table of Contents

Overview

The messages system is a system for Slab to notify developers of issues or suggestions on aspects of the API. Functions or options may be deprecated or Slab may offer an alternative usage. The system is designed to notify the user only once to prevent any repeated output to the console if enabled. This system can be enabled at startup and the developer will have the ability to gather the messages to be displayed in a control if desired.

API

Below is a list of functions associated with the Messages API.

Initialize

The messages system can be disabled through the 'args' table given to the Initialize function. If the string option 'NoMessages' exists in this table, the messages system will be disabled.

GetMessages

Retrieves a list of existing messages that has been captured by Slab.

Return Description
Table List of messages that have been broadcasted from Slab.
Clone this wiki locally