public static Trace fromSlime(Inspector inspector) {
        int traceLevel = deserializeTraceLevel(inspector);
        Clock clock = Clock.systemUTC();
        SlimeTraceDeserializer deserializer = new SlimeTraceDeserializer(inspector.field(TRACE_TRACELOG));
        return new Trace(traceLevel, deserializer.deserialize(), clock);
    }
A trace utility that can serialize/deserialize to/from {@link Slime}

@author Ulf Lilleengen
config/src/main/java/com/yahoo/vespa/config/protocol/Trace.java