update_log
Write a single-line message to the Plex Media Server log using a specified severity level and source. Use it to record diagnostics, errors, or debug information directly in the PMS log.
Instructions
Logging a single-line message to the Plex Media Server log.
PUT /log
Args: level: An integer log level to write to the PMS log with.
0: Error
1: Warning
2: Info
3: Debug
4: Verbose message: The text of the message to write to the log. source: A string indicating the source of the message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| source | No | ||
| message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |