Documentation
¶
Index ¶
- func Colored(str string, col Color) string
- type Color
- type Logger
- func (l *Logger) Error(log string)
- func (l *Logger) Info(log string)
- func (l *Logger) SendTime(time float64)
- func (l *Logger) ShowOverdriveWarning(limitExceeded bool)
- func (l *Logger) SubscribeToLogs(subscriber chan<- string)
- func (l *Logger) SubscribeToState(subscriber chan<- State)
- func (l *Logger) SubscribeToTime(subscriber chan<- string)
- func (l *Logger) Warning(log string)
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct { State // contains filtered or unexported fields }
func (*Logger) ShowOverdriveWarning ¶
func (*Logger) SubscribeToLogs ¶
func (*Logger) SubscribeToState ¶
func (*Logger) SubscribeToTime ¶
Click to show internal directories.
Click to hide internal directories.