Notifications
Clear all

There are three logging categories: category1, category1.eu, and category1.us.

1 Posts
1 Users
0 Likes
85 Views
(@ozolinsezequiel)
Posts: 701
Noble Member
Topic starter
 

There are three logging categories: category1, category1.eu, and category1.us.

In Business Manager, category1 is enabled for WARN level and no other categories are configured. All custom log targets are enabled.

The code segment below executes.

var logger = Logger.getLogger(“loggerFile”, “category1.eu” );

logger.warn(“This is a log message”);

What is the result'

  • A . Logs will not be written.
    B. Logs will be written to the log file with a prefix loggerFile.
    C. Logs will be written to the log file with a prefix custom-loggerFile.
    D. Logs will be written to the log file with a prefix customwarn.

Show Answer Hide Answer

Suggested Answer: C
 
Posted : 04/02/2023 12:46 pm

Latest Salesforce Certified B2C Commerce Developer Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: