Skip to main content

Logger

A Util object for nicely logging messages to the output window.

This can be required under game.ServerStorage.SocketPlugin.Utils.Logger

Functions

MacroInfo

Logger:MacroInfo(
...any
) → ()

For showing general information to the output

MacroWarn

Logger:MacroWarn(
...any
) → ()

For informing the user that an issue with a macro has occured

Show raw api
{
    "functions": [
        {
            "name": "MacroInfo",
            "desc": "For showing general information to the output",
            "params": [
                {
                    "name": "macro",
                    "desc": "",
                    "lua_type": "MacroDefinition"
                },
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 17,
                "path": "docs_api/utils.lua"
            }
        },
        {
            "name": "MacroWarn",
            "desc": "For informing the user that an issue with a macro has occured",
            "params": [
                {
                    "name": "macro",
                    "desc": "",
                    "lua_type": "MacroDefinition"
                },
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 26,
                "path": "docs_api/utils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "Logger",
    "desc": "A Util object for nicely logging messages to the output window.\n\nThis can be required under `game.ServerStorage.SocketPlugin.Utils.Logger`",
    "source": {
        "line": 8,
        "path": "docs_api/utils.lua"
    }
}