Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Accredited B2B Commerce Developer Professional (AP-202) Exam - Topic 3 Question 27 Discussion

What are three advantages of using ccLog over the Salesforcestandard System.debug class? (3 answers)
A) There is no need to use string concatenation to easily tag log statements with a subject. and C) There is no need to create a User Trace Flag. and E) There is no need to manually set a cookie to debug with the Site Guest User.
B) ccLog can debug syntax errors found in the JavaScript.
D) Append #ccLog=<Logging Token Name> to the end of the storefront URL in order to get logs in the inspector console.

Salesforce Accredited B2B Commerce Developer Professional (AP-202) Exam - Topic 3 Question 27 Discussion

Actual exam question for Salesforce's Salesforce Accredited B2B Commerce Developer Professional (AP-202) exam
Question #: 27
Topic #: 3
[All Salesforce Accredited B2B Commerce Developer Professional (AP-202) Questions]

What are three advantages of using ccLog over the Salesforce

standard System.debug class? (3 answers)

Show Suggested Answer Hide Answer
Suggested Answer: A, C, E

Contribute your Thoughts:

0/2000 characters
Bev
10 months ago
D sounds convenient, but is it really that easy?
upvoted 0 times
...
Candra
10 months ago
C is a game changer, love that feature!
upvoted 0 times
...
Aron
10 months ago
Wait, ccLog can debug JavaScript syntax errors? That's new to me!
upvoted 0 times
...
Bettina
11 months ago
I disagree, I still prefer using User Trace Flags.
upvoted 0 times
...
Hannah
11 months ago
A is definitely a plus! No more messy strings.
upvoted 0 times
...
Kristine
11 months ago
I’m a bit confused about the differences, but I feel like ccLog's ability to debug syntax errors in JavaScript might be a feature, though I can't recall the details.
upvoted 0 times
...
Jutta
11 months ago
I practiced a question like this, and I think ccLog allows you to debug without setting a cookie for the Site Guest User. That seems like a big plus.
upvoted 0 times
...
Hannah
11 months ago
I'm not entirely sure, but I remember something about ccLog not requiring a User Trace Flag. That could be one of the advantages.
upvoted 0 times
...
Alverta
11 months ago
I think one advantage of ccLog is that it simplifies tagging log statements without needing string concatenation. That sounds familiar.
upvoted 0 times
...
Lynsey
11 months ago
Option B seems a bit too technical and focused on the server performance rather than the user experience. I think A or C are better choices to represent the goal accurately.
upvoted 0 times
...
King
11 months ago
Hmm, I'm a bit unsure about this. I know ITIL is all about best practices, but I'm not sure which of these options would be the MOST helpful for adapting it.
upvoted 0 times
...

Save Cancel