logger

package
v0.0.0-...-32f009b Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Logger *logger.Logger
}

func New

func New(stream net.Stream) (*Logger, error)

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) Register

func (l *Logger) Register(vm *otto.Otto) error

Register a module that writes console.log to the given logger

Jump to

Keyboard shortcuts

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