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