logger

package
v0.0.0-...-33f461a Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2018 License: MIT Imports: 8 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) Name

func (l *Logger) Name() string

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