log

package
v0.0.0-...-5888cca Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package log contains logging utilities for labtunnel.

Index

Constants

This section is empty.

Variables

View Source
var Logger = NewLogger("")

Functions

func NewLogger

func NewLogger(prefix string) *log.Logger

Types

type Writer

type Writer struct {
	Logger *log.Logger
}

func NewWriter

func NewWriter(logger *log.Logger) *Writer

func (*Writer) Write

func (w *Writer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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