Skip to main content
Version: next

logLevel

  • Type:
    • "debug" | "info" | "warn" | "error"(until 1.18)
    • "verbose" | "debug" | "info" | "warn" | "error"(since 1.18)
  • Default value: "debug"

Sets the logging level for the Scrcpy server.

Controls the verbosity of server-side logging. Different log levels provide varying amounts of diagnostic information which can be useful for troubleshooting connection or functionality issues.

Changelog

v1.18

Extended type to include "verbose".

Example

import { ScrcpyOptions1_15 } from "@yume-chan/scrcpy";

const options = new ScrcpyOptions1_15({
logLevel: "debug", // Enable debug level logging
});