deploy: 8b6eaccd18
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# Log
|
||||
Logger module for Basalt. Logs messages to the console and optionally to a file.
|
||||
|
||||
## Fields
|
||||
|
||||
@@ -21,9 +22,12 @@
|
||||
|[Log.setLogToFile](#Log.setLogToFile)|-|Sets if the logger should log to a file
|
||||
|[Log.warn](#Log.warn)|-|Sends a warning message
|
||||
|
||||
## Log.debug()
|
||||
## Log.debug(...)
|
||||
Sends a debug message to the logger.
|
||||
|
||||
### Parameters
|
||||
* `...` *(vararg)* `string` The message to log
|
||||
|
||||
### Usage
|
||||
```lua
|
||||
Log.debug("This is a debug message")
|
||||
@@ -68,3 +72,4 @@ Sends a warning message to the logger.
|
||||
Log.warn("This is a warning message")
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user