Web API

Logger

Other API in Package

User

Internal Tunnel

Tunnel

List of Classes

WebController

AjaxResponse

AnalyticDataViewFilter

Archive

ArchiveManager

AreaChart

Attachment

AudioFile

BarChart

BillingEngine

BillingEvent

Browser

Buffer

BusinessUtil

CacheManager

Cell

CellFilter

Chart

ChartSharedSettings

ChartTool

Chunk

ConsoleManager

ConsoleResponse

Cube

Data

DataList

DataListFilter

DataReader

DataRecord

DataSet

DataSetRecord

DataSetResult

DataView

DataViewBuilder

DataViewCriteria

DataViewFilter

DataViewList

DataViewRecord

DatasetFile

DateUtil

DisplaySettings

Document

DocumentFile

DownloadResponse

Email

EncryptionUtil

Enterprise

EnterpriseInfo

ExcelFile

File

FileBuffer

Formatter

Fragment

GeoUtil

GroupConcat

ImageFile

Inspector

JSONBuffer

JSONParser

Job

JobManager

LineChart

LockManager

Logger

MailBox

MailBoxList

MailMessage

MailResponse

Message

MessageManager

Modules

Monitor

NavigatorResponse

PWA

Packet

PacketDataList

PacketDataRecord

Page

PagingInfo

Pal

PalActivationKeyInfo

PalInfo

Payload

PdfFile

PieChart

Pin

Profile

ProfileInfo

ProfilePacket

ProfilePalManager

ProfileTxManager

QRUtil

Render

Request

Response

Role

RuntimePal

SSOToken

SafeBox

ScatterPlotChart

ServiceRequest

ServiceResponse

ShellPal

ShellPalManager

SignSettings

SiteBuilder

Slice

SmartDoc

SmartDocManager

Socket

SocketResponse

StorageProvider

StorageProviderDataList

StoredObject

SystemDataView

SystemDataViewFilter

Tag

TagFilter

TagManager

TextEmail

TextMessage

TiffBuilder

TransactionPacket

Tunnel

TunnelResult

UnknownFile

VCardFile

Validator

ValidityCheck

Wizard

XMLReader

ZoneAccess

The Logger provides the ability to save detailed log events and view the events in Pal Manager. A Logger requires a Notification to be set up and associated with the runtime Pal, with log levels enabled. If no Notification is set up, Logger.error is always logged. All log events except debug are stored when the method is called. Debug events are stored when the workflow thread ends. All log events are limited to a maximum of 100 events per workflow thread.

Method Summary
int debug(Object debug)

Logs the given message at 'debug' level. Returns the remaining log events for this thread.

int error(Object error)

Logs the given message at 'error' level. Returns the remaining log events for this thread.

int error(Object error, String message)

Logs the given message at 'error' level with the specified message added. Returns the remaining log events for this thread.

int info(Object info)

Logs the given message at 'info' level. Returns the remaining log events for this thread.

boolean isDebugEnabled()

Returns true if this logger is enabled for debug.

boolean isErrorEnabled()

Returns true if this logger is enabled for error.

boolean isInfoEnabled()

Returns true if this logger is enabled for info.

boolean isWarnEnabled()

Returns true if this logger is enabled for warn.

String toString()

Returns a description of this object

int warn(Object error, String message)

Logs the given message at 'warn' level with the specified message added. Returns the remaining log events for this thread.

int warn(Object warn)

Logs the given message at 'warn' level. Returns the remaining log events for this thread.

Method Detail


int debug(Object debug)

Logs the given message at 'debug' level. Returns the remaining log events for this thread.

Parameters:

  • Object   debug

Returns:  int

Since: 10-19-2020

top

int error(Object error)

Logs the given message at 'error' level. Returns the remaining log events for this thread.

Parameters:

  • Object   error

Returns:  int

Since: 10-19-2020

top

int error(Object error, String message)

Logs the given message at 'error' level with the specified message added. Returns the remaining log events for this thread.

Parameters:

  • Object   error
  • String   message

Returns:  int

Since: 10-19-2020

top

int info(Object info)

Logs the given message at 'info' level. Returns the remaining log events for this thread.

Parameters:

  • Object   info

Returns:  int

Since: 10-19-2020

top

boolean isDebugEnabled()

Returns true if this logger is enabled for debug.

Returns:  boolean

Since: 10-19-2020

top

boolean isErrorEnabled()

Returns true if this logger is enabled for error.

Returns:  boolean

Since: 10-19-2020

top

boolean isInfoEnabled()

Returns true if this logger is enabled for info.

Returns:  boolean

Since: 10-19-2020

top

boolean isWarnEnabled()

Returns true if this logger is enabled for warn.

Returns:  boolean

Since: 10-19-2020

top

String toString()

Returns a description of this object

Returns:  String

Since: 10-19-2020

top

int warn(Object error, String message)

Logs the given message at 'warn' level with the specified message added. Returns the remaining log events for this thread.

Parameters:

  • Object   error
  • String   message

Returns:  int

Since: 10-19-2020

top

int warn(Object warn)

Logs the given message at 'warn' level. Returns the remaining log events for this thread.

Parameters:

  • Object   warn

Returns:  int

Since: 10-19-2020

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: May 01, 2024 05:15 AM