Skip to main content

PluginSDKOptions

type PluginSDKOptions = {
logLevel: LoggerLevel;
};

Configuration options for the PluginSDK constructor.

Example

import { PluginSDK, LoggerLevel } from "@logitech/plugin-sdk";

// With custom log level
const sdk = new PluginSDK({ logLevel: LoggerLevel.DEBUG });

// Using default options
const sdk = new PluginSDK();

Properties

logLevel

logLevel: LoggerLevel;

The logging level for the SDK. Controls the verbosity of log output. Defaults to LoggerLevel.WARN if not specified.

See

LoggerLevel - Available logging levels