Provides standardized and safe error logging with UTF-8 encoding, sensitive data masking, and controlled stack traces.

Trait JsonResponseTrait.