...

Package debug

import "github.com/Diarkis/diarkis/debug"
Overview
Index

Overview ▾

func Disable

func Disable()

Disable Turns off debug functions

func DisableMutexLogging

func DisableMutexLogging()

DisableMutexLogging disable mutex logging

func Enable

func Enable()

Enable Turns on debug functions

func EnableMutexLogging

func EnableMutexLogging()

EnableMutexLogging enables mutex logging

func IsEnabled

func IsEnabled() bool

IsEnabled returns true, if debug.Enable() has been called

func RunMemoryWatch

func RunMemoryWatch()

RunMemoryWatch Reads memory usage statistics and outputs them to stdout stream