github.com/goplus/igop@v0.25.0/pkg/log/go116_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.16,!go1.17 4 5 package log 6 7 import ( 8 q "log" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "log", 19 Path: "log", 20 Deps: map[string]string{ 21 "fmt": "fmt", 22 "io": "io", 23 "os": "os", 24 "runtime": "runtime", 25 "sync": "sync", 26 "time": "time", 27 }, 28 Interfaces: map[string]reflect.Type{}, 29 NamedTypes: map[string]reflect.Type{ 30 "Logger": reflect.TypeOf((*q.Logger)(nil)).Elem(), 31 }, 32 AliasTypes: map[string]reflect.Type{}, 33 Vars: map[string]reflect.Value{}, 34 Funcs: map[string]reflect.Value{ 35 "Default": reflect.ValueOf(q.Default), 36 "Fatal": reflect.ValueOf(q.Fatal), 37 "Fatalf": reflect.ValueOf(q.Fatalf), 38 "Fatalln": reflect.ValueOf(q.Fatalln), 39 "Flags": reflect.ValueOf(q.Flags), 40 "New": reflect.ValueOf(q.New), 41 "Output": reflect.ValueOf(q.Output), 42 "Panic": reflect.ValueOf(q.Panic), 43 "Panicf": reflect.ValueOf(q.Panicf), 44 "Panicln": reflect.ValueOf(q.Panicln), 45 "Prefix": reflect.ValueOf(q.Prefix), 46 "Print": reflect.ValueOf(q.Print), 47 "Printf": reflect.ValueOf(q.Printf), 48 "Println": reflect.ValueOf(q.Println), 49 "SetFlags": reflect.ValueOf(q.SetFlags), 50 "SetOutput": reflect.ValueOf(q.SetOutput), 51 "SetPrefix": reflect.ValueOf(q.SetPrefix), 52 "Writer": reflect.ValueOf(q.Writer), 53 }, 54 TypedConsts: map[string]igop.TypedConst{}, 55 UntypedConsts: map[string]igop.UntypedConst{ 56 "LUTC": {"untyped int", constant.MakeInt64(int64(q.LUTC))}, 57 "Ldate": {"untyped int", constant.MakeInt64(int64(q.Ldate))}, 58 "Llongfile": {"untyped int", constant.MakeInt64(int64(q.Llongfile))}, 59 "Lmicroseconds": {"untyped int", constant.MakeInt64(int64(q.Lmicroseconds))}, 60 "Lmsgprefix": {"untyped int", constant.MakeInt64(int64(q.Lmsgprefix))}, 61 "Lshortfile": {"untyped int", constant.MakeInt64(int64(q.Lshortfile))}, 62 "LstdFlags": {"untyped int", constant.MakeInt64(int64(q.LstdFlags))}, 63 "Ltime": {"untyped int", constant.MakeInt64(int64(q.Ltime))}, 64 }, 65 }) 66 }