SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...

    Function setLogLevel

    • Change the log level of a logger based on its message context. e.g., to set the log level for the destination accessor module of the SDK to debug, simply call setLogLevel('debug', 'destination-accessor').

      Parameters

      • level: "" | LogLevel

        Level to set the logger to. Use an empty string '' as level to unset context level.

      • OptionalmessageContextOrLogger: string | Logger

        Message context of the logger to change the log level for or the logger itself.

        Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.

      Returns void