Documentation ¶
Overview ¶
import "git.torproject.org/pluggable-transports/snowflake.git/v2/common/safelog"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogScrubber ¶
An io.Writer that can be used as the output for a logger that first sanitizes logs and then writes to the provided io.Writer
func (*LogScrubber) Lock ¶
func (ls *LogScrubber) Lock()
func (*LogScrubber) Unlock ¶
func (ls *LogScrubber) Unlock()
func (*LogScrubber) Write ¶
func (ls *LogScrubber) Write(b []byte) (n int, err error)
Click to show internal directories.
Click to hide internal directories.