logger

package
v0.0.0-...-133f676 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InfoLogger  *log.Logger
	ErrorLogger *log.Logger
)

Functions

func InitLogger

func InitLogger()

func LogError

func LogError(v ...interface{})

Exported function for err logging

func LogEvents

func LogEvents(events []types1.Event)

Exported function to log events

func LogInfo

func LogInfo(v ...interface{})

Exported function for info logging

func ParseOutpostAddressFromEvent

func ParseOutpostAddressFromEvent(events []types1.Event) string

Retrieves outpost_address from the main 'wasm' event which is emitted by 'map_user_outpost' Consider moving this function out of logger.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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