Enhanced error logging function with structured error information.
Provides rich error logging capabilities including severity levels, categories, error objects with stack traces, metadata, and varargs support.
Error logging options or a simple string message for backward compatibility
// Simple string messageLogErrorEx('Something went wrong'); Copy
// Simple string messageLogErrorEx('Something went wrong');
// With error object and metadataLogErrorEx({ message: 'Failed to process request', error: new Error('Network timeout'), severity: 'critical', category: 'NetworkError', metadata: { url: 'https://api.example.com', timeout: 5000 }}); Copy
// With error object and metadataLogErrorEx({ message: 'Failed to process request', error: new Error('Network timeout'), severity: 'critical', category: 'NetworkError', metadata: { url: 'https://api.example.com', timeout: 5000 }});
// With additional arguments (varargs)LogErrorEx({ message: 'Multiple values failed', additionalArgs: [value1, value2, value3]}); Copy
// With additional arguments (varargs)LogErrorEx({ message: 'Multiple values failed', additionalArgs: [value1, value2, value3]});
Enhanced error logging function with structured error information.
Provides rich error logging capabilities including severity levels, categories, error objects with stack traces, metadata, and varargs support.