Guide to the LiveAPI System - The get_debug_level() Method

Description

The get_debug_level() method retrieves the current debug level.

Note:

To set the LiveAPI debug level, use the set_debug() method.

Example  


LiveAPI PHP Class

1
2
// Get the current debug level.
$cpliveapi->get_debug_level();




LiveAPI Perl Module

1
2
# Get the current debug level.
$cpliveapi->get_debug_level();



Parameters

This method does not accept parameters.

Returns

This method returns the an integer that represents the current debug level:

  • 0 — LiveAPI currently does not log data.
  • Any other integer value — The LiveAPI system logs any messages with a level value that is greater than or equal to this value.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....