createLogger

fun createLogger(processName: String = "", threadName: String = ""): TraceLogger(source)

Allocates a new thread ID named threadName and returns a TraceLogger that will log all events under that thread ID.

Note this does not do anything with actual threads, it just affects the thread ID used in trace events.