AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Type Alias AppLogLevel

    AppLogLevel: "silent" | "debug" | "info" | "warn" | "error"

    The appLogLevel option allows the verbosity of app logs that are collected for a Window or View to be controlled for its application.

    This setting can also be specified in a Domain Setting Rule, allowing per url overrides to be defined. Please note, when a domain setting is actively controlling a url's appLogLevel, its view/window options will be ignored.

    'debug'

    Please note, if the manifest setting platform.enableAppLogging or startup_app.enableAppLogging is set to false, this feature will be disabled.

    In this example manifest, we use `defaultViewOptions to set the default verbosity to 'warn'.

    We also use domain settings to suppress logs for an example URL, and to lower verbosity to 'debug' for another.

    {
    <rest of settings>
    "platform": {
    <rest of settings>
    "defaultViewOptions": {
    "appLogLevel": "warn"
    },
    "domainSettings": {
    "default": { <rest of settings> }
    "rules": [
    <rest of rules>
    {
    "match": ["*://*?app-logging-level=silent"],
    "options": {
    "appLogLevel": "silent"
    }
    },
    {
    "match": ["*://*?app-logging-level=debug"],
    "options": {
    "appLogLevel": "debug"
    }
    },
    ]
    }
    }