dw.system
Class Log

A log4j like logger instance. To obtain such an instance, use the Logger.getRootLogger() or
Logger.getLogger(String) or Logger.getLogger(String, String) methods.
Properties
debugEnabled
:
boolean
(Read Only)
This method returns true if debug logging is enabled for this logging instance.
errorEnabled
:
boolean
(Read Only)
This method returns true if error logging is enabled for this logging instance.
infoEnabled
:
boolean
(Read Only)
This method returns true if information logging is enabled for this logging instance.
NDC
:
LogNDC
(Read Only)
The Nested Diagnostic Context for this script call.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
isDebugEnabled()
:
boolean
This method returns true if debug logging is enabled for this logging instance.
isErrorEnabled()
:
boolean
This method returns true if error logging is enabled for this logging instance.
isInfoEnabled()
:
boolean
This method returns true if information logging is enabled for this logging instance.
isWarnEnabled()
:
boolean
This method returns true if warning logging is enabled for this logging instance.
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.
Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβpassing the certification exam isn't easy. That's where we come in.
Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβpassing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβthis is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?
This isn't just another prep courseβit's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
This isn't just another prep courseβit's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.
The Salesforce B2C Commerce Architect certification is a whole different gameβcomplex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
The Salesforce B2C Commerce Architect certification is a whole different gameβcomplex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
Method Detail
debug
The method reports an debug level message. Arguments can be embedded into the message, e.g. like "Failure {0} in
{1}". The method implements the Java MessageFormat.format() syntax.
Parameters:
msg
-
the message to log.
args
-
the arguments to insert into the message.
error
The method reports an error level message. Arguments can be embedded into the message, e.g. like "Failure {0} in
{1}". The method implements the Java MessageFormat.format() syntax.
Parameters:
msg
-
the message to log.
args
-
the arguments to insert into the message.
fatal
The method reports an warning level message. Arguments can be embedded into the message, e.g. like "Failure {0}
in {1}". The method implements the Java MessageFormat.format() syntax. Note: Fatal log messages are always
enabled and optionally send via E-Mail.
Parameters:
msg
-
the message to log.
args
-
the arguments to insert into the message.
getNDC
static getNDC()
:
LogNDC
Returns the Nested Diagnostic Context for this script call.
Returns:
the nested diagnostic context
info
The method reports an information level message. Arguments can be embedded into the message, e.g. like "Failure
{0} in {1}". The method implements the Java MessageFormat.format() syntax.
Parameters:
msg
-
the message to log.
args
-
the arguments to insert into the message.
isDebugEnabled
isDebugEnabled()
:
boolean
This method returns true if debug logging is enabled for this logging instance.
Returns:
true if logging of debug messages is enabled, false otherwise.
isErrorEnabled
isErrorEnabled()
:
boolean
This method returns true if error logging is enabled for this logging instance.
Returns:
true if logging of error messages is enabled, false otherwise.
isInfoEnabled
isInfoEnabled()
:
boolean
This method returns true if information logging is enabled for this logging instance.
Returns:
true if logging of information messages is enabled, false otherwise.
isWarnEnabled
isWarnEnabled()
:
boolean
This method returns true if warning logging is enabled for this logging instance.
Returns:
true if logging of warning messages is enabled, false otherwise.