logger

package
v0.0.2-0...-1b30d8d Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger exposes the functionality to send logs back to the runtime

func NewLogger

func NewLogger(e rpc.FunctionRpc_EventStreamClient, invocationID string) *Logger

NewLogger returns a new instance of type Logger to be used in user funcs

func (*Logger) Log

func (l *Logger) Log(format string, args ...interface{}) error

Log sends a log message to the runtime

Jump to

Keyboard shortcuts

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