chrome.systemLog

Description

Use the chrome.systemLog API to record Chrome system logs from extensions.

Permissions

systemLog

Availability

Chrome 125+ ChromeOS only Requires policy

Types

MessageOptions

Properties

  • message

    string

Methods

add()

chrome.systemLog.add(
options: MessageOptions ,
)
: Promise<void>

Adds a new log record.

Parameters

Returns

  • Promise<void>

    Returns a Promise which resolves once the log has been added.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年01月07日 UTC.