Trillo Workbench Python SDK
  • Introduction
    • Sample Example
  • BaseApi (Basic APIs)
  • LogApi (Logging APIs)
  • DSApi (Database APIs)
    • Overview
    • Retrieve APIs
    • Create and Update API
    • Delete APIs
    • Empty Table
    • Sample Functions Using API
  • FuncApi (Function APIs)
  • TaskApi (Task APIs)
  • CacheApi (Memory Cache APIs)
    • Delete APIs
    • Create and Update API
    • Retrieve APIs
  • StorageApi
  • CallLogger (Logging Level APIs)
  • CommandApi
  • OAuth1Api
  • Google Cloud APIs
    • BigQueryApi (BigQuery APIs)
    • GCSApi (Cloud Storage APIs)
    • GCPAuthApi
    • GCPRestApi
    • GCPTokenInfo
  • Metadata API (MetaApi)
    • Create and Update API
    • All Retrieve-Only
  • UMApi (User, Tenant, Roles APIs)
  • HttpApi (HTTP APIs)
  • SFTPApi
  • FileUtil
  • CSVApi
  • EmailApi (Email APIs)
  • DLPApi
  • DocApi
  • FolderApi
  • GCPGenApi
  • Util
Powered by GitBook
On this page
  • isDebugOn
  • setDebugLevel
  • isInfoOn
  • setInfoLevel
  • isWarningOn
  • setWarningLevel
  • isErrorOn
  • setErrorLevel
  • a
  • debug
  • info
  • warn
  • error
  • critical
  • getLogs
  • setLogLevel
  • isCollectCallLogs
  • setCollectCallLogs

CallLogger (Logging Level APIs)

isDebugOn

Checks if debug logging is enabled

CallLogger.isDebugOn()

Parameters

None

Returns

boolean

setDebugLevel

Sets the debug logging level

CallLogger.setDebugLevel(debugOn)

Parameters

debugOn: bool

Returns

// Some code

isInfoOn

Checks if info logging is enabled

CallLogger.isInfoOn()

Parameters

None

Returns

boolean

setInfoLevel

Sets the info logging level

CallLogger.setInfoLevel(infoOn)

Parameters

infoOn: bool

Returns

None

isWarningOn

Checks if warning logging is enabled

CallLogger.isWarningOn()

Parameters

None

Returns

boolean

setWarningLevel

Sets the warning logging level.

CallLogger.setWarningLevel(warningOn)

Parameters

warningOn: bool

Returns

None

isErrorOn

Checks if error logging is enabled

CallLogger.isErrorOn()

Parameters

None

Returns

boolean

setErrorLevel

Sets the error logging level

CallLogger.setErrorLevel(errorOn)

Parameters

errorOn: bool

Returns

None

a

CallLogger.

Parameters

Returns

None

debug

Logs a debug message if debug logging is enabled

debug(msg)

Parameters

msg: string

Returns

None

info

Logs an info message if info logging is enabled

CallLogger.info(msg)

Parameters

msg: string

Returns

None

warn

Logs an warning message if warning logging is enabled

CallLogger.warn(msg)

Parameters

msg: string

Returns

None

error

Logs an error message if error logging is enabled.

CallLogger.error(msg)

Parameters

msg: string

Returns

None

critical

Logs a critical message

CallLogger.critical(msg)

Parameters

msg: string

Returns

None

getLogs

Retrieves the list of logs

CallLogger.getLogs()

Parameters

None

Returns

List<Object>

setLogLevel

Sets the logging level based on a specified string

CallLogger.setLogLevel(logLevel)

Parameters

logLevel: string

Returns

None

isCollectCallLogs

Checks if call logs collection is enabled

CallLogger.isCollectCallLogs()

Parameters

None

Returns

boolean

setCollectCallLogs

Sets the flag to enable or disable call logs collection

CallLogger.setCollectCallLogs(collectCallLogs)

Parameters

collectCallLogs: bool

Returns

None
PreviousStorageApiNextCommandApi

Last updated 1 year ago