Sets the system tracing configuration to the specified level with the specified callback. When system events occur at a level equal to, or lower than, the given level they will be reported to the given callback.
Level to set tracing to
Function to call with trace data
0 or an error code