> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HCTraceImplMessage

> Sends a trace message. Use the trace macros instead of calling this function directly.

Sends a trace message.

## Syntax

```cpp theme={null}
void HCTraceImplMessage(  
         HCTraceImplArea const* area,  
         HCTraceLevel level,  
         char const* format,  
         ...  
)  
```

### Parameters

*area*\
Type: HCTraceImplArea const\*

The trace area. If the value is `nullptr`, the function does nothing.

*level*\
Type: [HCTraceLevel](https://docs.xbox.com/reference/live/httpclient/trace/enums/hctracelevel.md)

The trace level. The message is dropped if *level* is greater than the verbosity of *area*.

*format*   \_Printf\_format\_string\_\
Type: char const\*

A `printf`-style format string.

*...*

Arguments for *format*.

### Return value

Type: void

## Remarks

Use `HC_TRACE_MESSAGE` or a level-specific trace macro instead of calling this function directly. Level-specific macros such as `HC_TRACE_ERROR` and `HC_TRACE_INFORMATION` compile out when their level is excluded by `HC_TRACE_BUILD_LEVEL`. `HC_TRACE_MESSAGE` compiles out only when tracing is disabled entirely.

## Requirements

**Header:** trace.h

**Library:** libHttpClient.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[trace](https://docs.xbox.com/reference/live/httpclient/trace/trace_members.md)


## Related topics

- [trace (contents)](https://docs.xbox.com/reference/live/httpclient/trace/trace_members.md)
- [HCTraceImplSetAreaVerbosity](https://docs.xbox.com/reference/live/httpclient/trace/functions/hctraceimplsetareaverbosity.md)
- [HCTraceImplGetAreaVerbosity](https://docs.xbox.com/reference/live/httpclient/trace/functions/hctraceimplgetareaverbosity.md)
- [HCTraceCallback](https://docs.xbox.com/reference/live/httpclient/trace/functions/hctracecallback.md)
- [HCTracePlatformWriteMessageToDebuggerCallback](https://docs.xbox.com/reference/live/httpclient/trace/functions/hctraceplatformwritemessagetodebuggercallback.md)
