This commit is contained in:
NoryiE
2025-02-17 08:37:58 +00:00
parent 056897dd1b
commit ca2521d237
6 changed files with 98 additions and 45 deletions

View File

@@ -1,7 +1,31 @@
Log levels
# Log
## Fields
|Field|Type|Description|
|---|---|---|
## Functions
|Method|Returns|Description|
|---|---|---|
|[Log.error](#Log.error)|-|
|[Log.setEnabled](#Log.setEnabled)|-|
|[Log.setLogToFile](#Log.setLogToFile)|-|
## Log.error()
Sends a debug message to the logger.
@vararg string The message to log
Sends an info message to the logger.
@vararg string The message to log
Sends a warning message to the logger.
@vararg string The message to log
Sends an error message to the logger.
@vararg string The message to log
## Log.setEnabled()
sets if the logger should log
## Log.setLogToFile()
Sets if the logger should log to a file.