mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
3.0 KiB
3.0 KiB
LogLineRequest
Example Usage
import { Level, LogLineRequest } from "@lukehagar/plexjs/sdk/models/operations";
let value: LogLineRequest = {
level: Level.One,
message: "Test log message",
source: "Postman",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
level |
operations.Level | ✔️ | An integer log level to write to the PMS log with. 0: Error 1: Warning 2: Info 3: Debug 4: Verbose |
|
message |
string | ✔️ | The text of the message to write to the log. | Test log message |
source |
string | ✔️ | a string indicating the source of the message. | Postman |