core_namespace: 5.18 update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user