# Log Functions

> You can use log function to print some useful log info

### Trace(info: string)

Print trace log info

```lua
local log = plugin.log
log.trace("trace information")
```

### Debug(info: string)

Print debug log info

```lua
local log = plugin.log
log.debug("debug information")
```

### Info(info: string)

Print info log info

```lua
local log = plugin.log
log.info("info information")
```

### Warn(info: string)

Print warning log info

```lua
local log = plugin.log
log.warn("warn information")
```

### Error(info: string)

Print error log info

```lua
local log = plugin.log
log.error("error information")
```