Files
moxa/stdlib/log.go
Marc Vertes 5a10046944 feat: simplify Use() (#115)
Change API from
func Use(val libValueMap, typ libTypeMap)
to
func Use(val libValueMap)
2019-03-13 12:24:59 +01:00

41 lines
1.4 KiB
Go

package stdlib
// Code generated by 'goexports log'. DO NOT EDIT.
import (
"log"
"reflect"
)
func init() {
Value["log"] = map[string]reflect.Value{
// function, constant and variable definitions
"Fatal": reflect.ValueOf(log.Fatal),
"Fatalf": reflect.ValueOf(log.Fatalf),
"Fatalln": reflect.ValueOf(log.Fatalln),
"Flags": reflect.ValueOf(log.Flags),
"LUTC": reflect.ValueOf(log.LUTC),
"Ldate": reflect.ValueOf(log.Ldate),
"Llongfile": reflect.ValueOf(log.Llongfile),
"Lmicroseconds": reflect.ValueOf(log.Lmicroseconds),
"Lshortfile": reflect.ValueOf(log.Lshortfile),
"LstdFlags": reflect.ValueOf(log.LstdFlags),
"Ltime": reflect.ValueOf(log.Ltime),
"New": reflect.ValueOf(log.New),
"Output": reflect.ValueOf(log.Output),
"Panic": reflect.ValueOf(log.Panic),
"Panicf": reflect.ValueOf(log.Panicf),
"Panicln": reflect.ValueOf(log.Panicln),
"Prefix": reflect.ValueOf(log.Prefix),
"Print": reflect.ValueOf(log.Print),
"Printf": reflect.ValueOf(log.Printf),
"Println": reflect.ValueOf(log.Println),
"SetFlags": reflect.ValueOf(log.SetFlags),
"SetOutput": reflect.ValueOf(log.SetOutput),
"SetPrefix": reflect.ValueOf(log.SetPrefix),
// type definitions
"Logger": reflect.ValueOf((*log.Logger)(nil)),
}
}