core_namespace: 5.18 update

This commit is contained in:
Van
2026-11-07 19:08:57 +03:00
parent 03b97bc546
commit f43b79c82c

View File

@@ -1,24 +1,20 @@
--- @meta
---Version: 5.18
---@meta
--- Equivalent to `core.log(table.concat({...}, "\t"))`
---Calls `core.log` with all arguments converted to string and separated by tabs (similar to print).
---
--- Calls `core.log()` with all arguments converted to string and separated by tabs (similar to print).
---
--- @param ... any
---@param ... any
function core.debug(...) end
--- @alias LogLevel
--- | "none"
--- | "error"
--- | "warning"
--- | "action"
--- | "info"
--- | "verbose"
---@alias LogLevel
---| "none"
---| "error"
---| "warning"
---| "action"
---| "info"
---| "verbose"
--- Logs a message at the specified log level.
---
--- @overload fun(text:string)
--- @param level? LogLevel # [Optional] is one of `"none"`, `"error"`, `"warning"`, `"action"`, `"info"`, or `"verbose"`. Default is `"none"`.
--- @param text string
---@overload fun(text:string)
---@param level LogLevel?
---@param text string
function core.log(level, text) end