| FoxitPDFSDKforWeb v11.0.5 Archives Foxit PDF SDK for Web

Static Public Member Functions | List of all members
LoggerFactory Class Reference
PDFViewCtrl » Log

The LoggerFactory is a utility class producing Loggers for various logging APIs. More...

## Static Public Member Functions
static | setLogLevel (level)
| Set the log level. More...
static | toggleLogger (logOff)
| Toggle the log. More...

## Detailed Description

The LoggerFactory is a utility class producing Loggers for various logging APIs.

Since
  8.4.0

## Member Function Documentation

## ◆ setLogLevel()

static LoggerFactory::setLogLevel | ( |  | level | ) |
| inline static

Set the log level.

Parameters

  level | string - The log level. Please refer to Log_Levels.

Since
  9.0.0

## ◆ toggleLogger()

static LoggerFactory::toggleLogger | ( |  | logOff | ) |
| inline static

Toggle the log.

Parameters

  logOff | boolean - True to hide log, false to show.

Since
  8.4.0

@2025 Foxit Software Incorporated. All rights reserved.