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