# mco_trace_set_level
RT

> Set the trace severity level.

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

### Prototype

        mco_severity mco_trace_set_level(mco_severity new_level);

### Arguments

new_level | Possible levels (as defined in enum `mco_severity`) are:
        MCO_TRACE_FATAL
        MCO_TRACE_ERROR
        MCO_TRACE_WARNING
        MCO_TRACE_NOTICE
        MCO_TRACE_INFO
        MCO_TRACE_DEBUG
        MCO_TRACE_VERBOSE

### Description

> This function sets the severity level for tracing messages.

### Return Codes

mco_severity | The previous trace severity level

### Files

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