github.com/goplus/igop@v0.25.0/pkg/log/syslog/go117_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package syslog 7 8 import ( 9 q "log/syslog" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "syslog", 20 Path: "log/syslog", 21 Deps: map[string]string{ 22 "errors": "errors", 23 "fmt": "fmt", 24 "log": "log", 25 "net": "net", 26 "os": "os", 27 "strings": "strings", 28 "sync": "sync", 29 "time": "time", 30 }, 31 Interfaces: map[string]reflect.Type{}, 32 NamedTypes: map[string]reflect.Type{ 33 "Priority": reflect.TypeOf((*q.Priority)(nil)).Elem(), 34 "Writer": reflect.TypeOf((*q.Writer)(nil)).Elem(), 35 }, 36 AliasTypes: map[string]reflect.Type{}, 37 Vars: map[string]reflect.Value{}, 38 Funcs: map[string]reflect.Value{ 39 "Dial": reflect.ValueOf(q.Dial), 40 "New": reflect.ValueOf(q.New), 41 "NewLogger": reflect.ValueOf(q.NewLogger), 42 }, 43 TypedConsts: map[string]igop.TypedConst{ 44 "LOG_ALERT": {reflect.TypeOf(q.LOG_ALERT), constant.MakeInt64(int64(q.LOG_ALERT))}, 45 "LOG_AUTH": {reflect.TypeOf(q.LOG_AUTH), constant.MakeInt64(int64(q.LOG_AUTH))}, 46 "LOG_AUTHPRIV": {reflect.TypeOf(q.LOG_AUTHPRIV), constant.MakeInt64(int64(q.LOG_AUTHPRIV))}, 47 "LOG_CRIT": {reflect.TypeOf(q.LOG_CRIT), constant.MakeInt64(int64(q.LOG_CRIT))}, 48 "LOG_CRON": {reflect.TypeOf(q.LOG_CRON), constant.MakeInt64(int64(q.LOG_CRON))}, 49 "LOG_DAEMON": {reflect.TypeOf(q.LOG_DAEMON), constant.MakeInt64(int64(q.LOG_DAEMON))}, 50 "LOG_DEBUG": {reflect.TypeOf(q.LOG_DEBUG), constant.MakeInt64(int64(q.LOG_DEBUG))}, 51 "LOG_EMERG": {reflect.TypeOf(q.LOG_EMERG), constant.MakeInt64(int64(q.LOG_EMERG))}, 52 "LOG_ERR": {reflect.TypeOf(q.LOG_ERR), constant.MakeInt64(int64(q.LOG_ERR))}, 53 "LOG_FTP": {reflect.TypeOf(q.LOG_FTP), constant.MakeInt64(int64(q.LOG_FTP))}, 54 "LOG_INFO": {reflect.TypeOf(q.LOG_INFO), constant.MakeInt64(int64(q.LOG_INFO))}, 55 "LOG_KERN": {reflect.TypeOf(q.LOG_KERN), constant.MakeInt64(int64(q.LOG_KERN))}, 56 "LOG_LOCAL0": {reflect.TypeOf(q.LOG_LOCAL0), constant.MakeInt64(int64(q.LOG_LOCAL0))}, 57 "LOG_LOCAL1": {reflect.TypeOf(q.LOG_LOCAL1), constant.MakeInt64(int64(q.LOG_LOCAL1))}, 58 "LOG_LOCAL2": {reflect.TypeOf(q.LOG_LOCAL2), constant.MakeInt64(int64(q.LOG_LOCAL2))}, 59 "LOG_LOCAL3": {reflect.TypeOf(q.LOG_LOCAL3), constant.MakeInt64(int64(q.LOG_LOCAL3))}, 60 "LOG_LOCAL4": {reflect.TypeOf(q.LOG_LOCAL4), constant.MakeInt64(int64(q.LOG_LOCAL4))}, 61 "LOG_LOCAL5": {reflect.TypeOf(q.LOG_LOCAL5), constant.MakeInt64(int64(q.LOG_LOCAL5))}, 62 "LOG_LOCAL6": {reflect.TypeOf(q.LOG_LOCAL6), constant.MakeInt64(int64(q.LOG_LOCAL6))}, 63 "LOG_LOCAL7": {reflect.TypeOf(q.LOG_LOCAL7), constant.MakeInt64(int64(q.LOG_LOCAL7))}, 64 "LOG_LPR": {reflect.TypeOf(q.LOG_LPR), constant.MakeInt64(int64(q.LOG_LPR))}, 65 "LOG_MAIL": {reflect.TypeOf(q.LOG_MAIL), constant.MakeInt64(int64(q.LOG_MAIL))}, 66 "LOG_NEWS": {reflect.TypeOf(q.LOG_NEWS), constant.MakeInt64(int64(q.LOG_NEWS))}, 67 "LOG_NOTICE": {reflect.TypeOf(q.LOG_NOTICE), constant.MakeInt64(int64(q.LOG_NOTICE))}, 68 "LOG_SYSLOG": {reflect.TypeOf(q.LOG_SYSLOG), constant.MakeInt64(int64(q.LOG_SYSLOG))}, 69 "LOG_USER": {reflect.TypeOf(q.LOG_USER), constant.MakeInt64(int64(q.LOG_USER))}, 70 "LOG_UUCP": {reflect.TypeOf(q.LOG_UUCP), constant.MakeInt64(int64(q.LOG_UUCP))}, 71 "LOG_WARNING": {reflect.TypeOf(q.LOG_WARNING), constant.MakeInt64(int64(q.LOG_WARNING))}, 72 }, 73 UntypedConsts: map[string]igop.UntypedConst{}, 74 }) 75 }