Logging {{ currentPage ? currentPage.title : "" }}

How does Logging work?

Every Component (on Player) contains the Function Logger which will call the LogType.

It will follow these Steps:

  1. Detect if the Logging Map (Inside the Details Panel of every Component) contains the LogType.

    1. If it contains the LogType, it will get the Type, SubType and Message from it. Also the OnlyOnDebug Boolean.

      1. If the OnlyOnDebug is set to true, but the Logging Debug is set to false, it will do nothing.

      2. If the OnlyOnDebug is set to true and the Logging Debug is also set to true, it will go to 2.

      3. If the OnlyOnDebug is set to false, it will go to 2.

    2. If it does not contain the LogType

      1. If Logging Debug is set to false, it will do nothing.

      2. If Logging Debug is set to true, it will go to 2.

  2. Now the Function is detecting if the SubType will be overwritten. (Look into the Info in each Component, to detect if it will be overwritten or not.

  3. Now it will call the Function Print Log (Client) or Print Log to Player ( Server). Those Function can be found inside the SP8_Logging_FunctionLibrary.

{{{ content }}}