# mco_trace_set_handler
RT

> Set a user-defined trace handler.

> ### For an overview see page Tracing Framework in C

### Prototype

        void mco_trace_set_handler(mco_trace_message_handler_fn trace_fn);

### Arguments

trace_fn | The user-defined handler function defined by the prototype `mco_trace_message_handler_fn`

### Description

> This function registers a user-defined custom handler to be called when database operations trigger messages.

### Return Codes

void | No status code returned

### Files

Header file:
mco.h
Source file:
mcotrace.c
Library:
libmcotrace.a