All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.http4k.tracing.Tracer.kt Maven / Gradle / Ivy

The newest version!
package org.http4k.tracing

import org.http4k.events.MetadataEvent

/**
 * Implement this to define custom Tracer types - eg. writing to a database or sending a message
 */
fun interface Tracer {
    operator fun invoke(node: EventNode, tracer: Tracer): List

    companion object
}

data class EventNode(val event: MetadataEvent, val children: List)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy