home/categories/monitoring/salesforcecommercecloud-b2c-developer-tooling-skills-b2c-skills-b2c-logging-skill-md
monitoringdevops
b2c-logging
Implement logging in B2C Commerce scripts using dw.system.Logger. Use when adding debug output, error tracking, or custom log files to server-side code. Covers getLogger, log categories, log levels (debug, info, warn, error, fatal), and custom named log files.
maintainer
SalesforceCommerceCloud
Updated 3/29/2026
Stars
35
Forks
10
quick start
Installation and usage
Implement logging in B2C Commerce scripts using dw.system.Logger. Use when adding debug output, error tracking, or custom log files to server-side code. Covers getLogger, log categories, log levels (debug, info, warn, error, fatal), and custom named log files.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use b2c-logging