internal

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufferedInfoLogger

func NewBufferedInfoLogger(buffer *bytes.Buffer) log.Logger

NewBufferedInfoLogger creates a new logger with level info that writes to the provided buffer. Error log lines will start with "ERR ". Info log lines will start with "INF ". Debug log lines are omitted, but would start with "DBG ".

func NewBufferedLogger

func NewBufferedLogger(buffer *bytes.Buffer, level zerolog.Level) log.Logger

NewBufferedLogger creates a new logger that writes to the provided buffer. Error log lines will start with "ERR ". Info log lines will start with "INF ". Debug log lines will start with "DBG ".

func SplitLogLines

func SplitLogLines(logs string) []string

SplitLogLines splits the provided logs string into its individual lines.

Types

This section is empty.

Directories

Path Synopsis
Package provwasm allows CosmWasm smart contracts to communicate with custom provenance modules.
Package provwasm allows CosmWasm smart contracts to communicate with custom provenance modules.

Jump to

Keyboard shortcuts

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