Documentation
¶
Index ¶
- Constants
- type KLog
- func (klog *KLog) Info(title string, text string, level int)
- func (klog *KLog) LogError(title string, err error)
- func (klog *KLog) LogIn(title string, text string)
- func (klog *KLog) LogNormal(title string, text string)
- func (klog *KLog) LogVital(title string, text string)
- func (klog *KLog) SetListener(listener ListenerFunc)
- func (klog *KLog) ToggleInspector()
- type ListenerFunc
Constants ¶
View Source
const ( NORMAL_LEVEL = iota ERROR_LEVEL VITAL )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KLog ¶
type KLog struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *KLog
func (*KLog) SetListener ¶
func (klog *KLog) SetListener(listener ListenerFunc)
func (*KLog) ToggleInspector ¶
func (klog *KLog) ToggleInspector()
type ListenerFunc ¶
type ListenerFunc func(string)
Click to show internal directories.
Click to hide internal directories.