trace

package
v0.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: LGPL-2.1 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Importable tengo.Importable = NewTrace()
)

Functions

This section is empty.

Types

type ImportModule

type ImportModule struct {
	tengo.ObjectImpl

	Attrs map[string]tengo.Object
	// contains filtered or unexported fields
}

func NewTrace

func NewTrace() *ImportModule

func (*ImportModule) AddHandler

func (m *ImportModule) AddHandler() tengo.CallableFunc

AddHandler adds a new slog.Handler to ImportModule

func (*ImportModule) AddHook

func (m *ImportModule) AddHook() tengo.CallableFunc

func (*ImportModule) AsImmutableMap

func (m *ImportModule) AsImmutableMap(name string) *tengo.ImmutableMap

AsImmutableMap converts builtin module into an immutable map.

func (*ImportModule) Assert added in v0.3.13

func (m *ImportModule) Assert() tengo.CallableFunc

func (*ImportModule) BoolField added in v0.3.10

func (m *ImportModule) BoolField() tengo.CallableFunc

func (*ImportModule) Call

func (m *ImportModule) Call(args ...tengo.Object) (tengo.Object, error)

func (*ImportModule) CanCall

func (m *ImportModule) CanCall() bool

func (*ImportModule) Copy

func (m *ImportModule) Copy() tengo.Object

Copy returns a copy of the type.

func (*ImportModule) Debug

func (m *ImportModule) Debug() tengo.CallableFunc

func (*ImportModule) DurationField added in v0.3.10

func (m *ImportModule) DurationField() tengo.CallableFunc

func (*ImportModule) Equals

func (m *ImportModule) Equals(_ tengo.Object) bool

Equals returns true if the value of the type is equal to the value of another object.

func (*ImportModule) Error

func (m *ImportModule) Error() tengo.CallableFunc

func (*ImportModule) Fields

func (m *ImportModule) Fields() tengo.CallableFunc

func (*ImportModule) FloatField

func (m *ImportModule) FloatField() tengo.CallableFunc

func (*ImportModule) Import

func (m *ImportModule) Import(name string) (interface{}, error)

Import returns an immutable map for the module.

func (*ImportModule) IndexGet

func (m *ImportModule) IndexGet(arg tengo.Object) (tengo.Object, error)

func (*ImportModule) Info

func (m *ImportModule) Info() tengo.CallableFunc

func (*ImportModule) IntField

func (m *ImportModule) IntField() tengo.CallableFunc

func (*ImportModule) Print added in v0.3.16

func (m *ImportModule) Print() tengo.CallableFunc

func (*ImportModule) SetLevel

func (m *ImportModule) SetLevel() tengo.CallableFunc

func (*ImportModule) String

func (m *ImportModule) String() string

func (*ImportModule) StringField

func (m *ImportModule) StringField() tengo.CallableFunc

func (*ImportModule) TimeField

func (m *ImportModule) TimeField() tengo.CallableFunc

func (*ImportModule) Try added in v0.3.9

func (m *ImportModule) Try() tengo.CallableFunc

func (*ImportModule) TypeName

func (m *ImportModule) TypeName() string

TypeName returns the name of the type.

func (*ImportModule) Version added in v0.2.0

func (m *ImportModule) Version() string

func (*ImportModule) Warn

func (m *ImportModule) Warn() tengo.CallableFunc

Directories

Path Synopsis
Package slog provides structured logging, in which log records include a message, a severity level, and various other attributes expressed as key-value pairs.
Package slog provides structured logging, in which log records include a message, a severity level, and various other attributes expressed as key-value pairs.
buffer
Package buffer provides a pool-allocated byte buffer.
Package buffer provides a pool-allocated byte buffer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL