Files
plexjs/docs/sdk/models/operations/loglinerequest.md

3.0 KiB

LogLineRequest

Example Usage

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

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