import "mind/core/framework/log"

Package log provides a logging API to send log messages from robot to developers console.

Logging will only work after OnConnect() has been invoked by a connected remote.


log.Debug.Println("This is a debug message")
log.Info.Println("This is an info message")
log.Warn.Println("This is a warning message")
log.Error.Println("This is a error message")
log.Fatal.Println("This is a fatal message")


var (
    Fatal *log.Logger
    Error *log.Logger
    Warn  *log.Logger
    Info  *log.Logger
    Debug *log.Logger