Files
plexjs/docs/sdk/models/operations/loglinerequest.md
2024-09-08 03:06:14 +00:00

3.0 KiB

LogLineRequest

Example Usage

import { Level, LogLineRequest } from "@lukehagar/plexjs/sdk/models/operations";

let value: LogLineRequest = {
    level: Level.Four,
    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