# Functions
LogStack will log the current stack.
LogStats logs runtime statistics.
RegisterHeapDumper spawns a goroutine which dumps heap profile upon a SIGUSR2.
RegisterStackDumper spawns a goroutine which dumps stack trace upon a SIGUSR1.
StartStatsTicker starts a goroutine which dumps stats at a specified interval.