logutil

package
v0.5.3-develop Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package logutil creates a Multi writer instance that write all logs that are written to stdout.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigurePersistentLogging

func ConfigurePersistentLogging(logFileName string) error

ConfigurePersistentLogging adds a log-to-file writer. File content is identical to stdout.

func MaskCredentialsLogging

func MaskCredentialsLogging(currUrl string) string

Masks the url credentials before logging for security purpose [scheme:][//[userinfo@]host][/]path[?query][#fragment] --> [scheme:][//[***]host][/***][#***] if the format is not matched nothing is done, string is returned as is.

Types

This section is empty.

Jump to

Keyboard shortcuts

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