| 1 | // Code generated by 'yaegi extract log'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "go/constant" |
| 10 | "go/token" |
| 11 | "log" |
| 12 | "reflect" |
| 13 | ) |
| 14 | |
| 15 | func init() { |
| 16 | Symbols["log/log"] = map[string]reflect.Value{ |
| 17 | // function, constant and variable definitions |
| 18 | "Default": reflect.ValueOf(log.Default), |
| 19 | "Fatal": reflect.ValueOf(logFatal), |
| 20 | "Fatalf": reflect.ValueOf(logFatalf), |
| 21 | "Fatalln": reflect.ValueOf(logFatalln), |
| 22 | "Flags": reflect.ValueOf(log.Flags), |
| 23 | "LUTC": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), |
| 24 | "Ldate": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)), |
| 25 | "Llongfile": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), |
| 26 | "Lmicroseconds": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), |
| 27 | "Lmsgprefix": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), |
| 28 | "Lshortfile": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), |
| 29 | "LstdFlags": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)), |
| 30 | "Ltime": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)), |
| 31 | "New": reflect.ValueOf(logNew), |
| 32 | "Output": reflect.ValueOf(log.Output), |
| 33 | "Panic": reflect.ValueOf(log.Panic), |
| 34 | "Panicf": reflect.ValueOf(log.Panicf), |
| 35 | "Panicln": reflect.ValueOf(log.Panicln), |
| 36 | "Prefix": reflect.ValueOf(log.Prefix), |
| 37 | "Print": reflect.ValueOf(log.Print), |
| 38 | "Printf": reflect.ValueOf(log.Printf), |
| 39 | "Println": reflect.ValueOf(log.Println), |
| 40 | "SetFlags": reflect.ValueOf(log.SetFlags), |
| 41 | "SetOutput": reflect.ValueOf(log.SetOutput), |
| 42 | "SetPrefix": reflect.ValueOf(log.SetPrefix), |
| 43 | "Writer": reflect.ValueOf(log.Writer), |
| 44 | |
| 45 | // type definitions |
| 46 | "Logger": reflect.ValueOf((*logLogger)(nil)), |
| 47 | } |
| 48 | } |