Ocean/Log/Variables.go

26 lines
1.1 KiB
Go
Raw Normal View History

package Log
import "github.com/SommerEngineering/Ocean/Log/Meta"
import "container/list"
import "sync"
var (
entriesBuffer chan Meta.Entry = nil
logBufferSize int = 500
logBufferTimeoutSeconds int = 4
logDeviceDelayNumberEvents int = 600
logDeviceDelayTimeoutSeconds int = 5
channelReady bool = false
preChannelBufferUsed bool = false
preChannelBuffer *list.List = nil
deviceDelayBuffer *list.List = nil
devices *list.List = nil
mutexDeviceDelays sync.Mutex = sync.Mutex{}
mutexPreChannelBuffer sync.Mutex = sync.Mutex{}
mutexChannel sync.RWMutex = sync.RWMutex{}
mutexDevices sync.RWMutex = sync.RWMutex{}
timerIsRunning bool = false
projectName string = `not set`
senderName Meta.Sender = `System::Log`
)