Skip to content

package editor_logging

import "kaiju/editor/editor_logging"

Types

Logging

struct

type Logging struct {
    OnNewLog func(msg Message)
    // Has unexported fields.
}

Logging.All

func (l *Logging) All() []Message

Logging.Clear

func (l *Logging) Clear()

Logging.Errors

func (l *Logging) Errors() []Message

Logging.Infos

func (l *Logging) Infos() []Message

Logging.Initialize

func (l *Logging) Initialize(host *engine.Host, logStream *logging.LogStream)

Logging.Warnings

func (l *Logging) Warnings() []Message

Message

struct

type Message struct {
    Time     string
    Message  string
    Trace    string
    Data     map[string]string
    Category string
}

Message.ToString

func (m *Message) ToString() string