logsanitize

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logsanitize takes personal data out of kd log text. It redacts file names (extensions stay), device names, relay tokens, fingerprints, IP and MAC addresses, and the account name. It keeps timestamps, log levels, method names, error types, sizes, and connection events. It uses the standard library only, so the browser peer applies the same rules as the desktop.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content

func Content(raw string) string

Content sanitizes log text in memory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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