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 Detailint debug(Object debug) Logs the given message at 'debug' level. Returns the remaining log events for this thread.
Parameters:
Returns: int Since: 10-19-2020 int error(Object error) Logs the given message at 'error' level. Returns the remaining log events for this thread.
Parameters:
Returns: int Since: 10-19-2020 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:
Returns: int Since: 10-19-2020 int info(Object info) Logs the given message at 'info' level. Returns the remaining log events for this thread.
Parameters:
Returns: int Since: 10-19-2020 boolean isDebugEnabled() Returns true if this logger is enabled for debug. Returns: boolean Since: 10-19-2020 boolean isErrorEnabled() Returns true if this logger is enabled for error. Returns: boolean Since: 10-19-2020 boolean isInfoEnabled() Returns true if this logger is enabled for info. Returns: boolean Since: 10-19-2020 boolean isWarnEnabled() Returns true if this logger is enabled for warn. Returns: boolean Since: 10-19-2020 String toString() Returns a description of this object Returns: String Since: 10-19-2020 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:
Returns: int Since: 10-19-2020 int warn(Object warn) Logs the given message at 'warn' level. Returns the remaining log events for this thread.
Parameters:
Returns: int Since: 10-19-2020 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |