package
1.0.0
Repository: https://github.com/phanitejak/kptgolib.git
Documentation: pkg.go.dev

# README

Go Logging

A logging library with out-of-the box Neo logging guideline compatibility

# Packages

Package loggingtest provides wrapper for testing.T to used as logging.Logger.
No description provided by the author
Package logging provides compatibility with Neo logging guidelines.

# Functions

GetMetricsHook retrieves a logging hook for metrics, counting number of log entries.
NewAuditLogger returns a new Logger logging to stderr.
NewLogger returns a new Logger logging to stderr.
PrivacyDataFormatter formats the given sensitive string.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
Operation failed because the target does not exist.
Operation failed, but the detailed cause is unknown.
Operation is incomplete.
Operation failed because the request was illegal.
Not appliciable.
Operation is denied because invoker haves no privileges to perform it.
Operation failed because it is not implemented or enabled.
Operation failed while the request is valid but performing it would violate some constraints.
Operation depends on some external system that cannot be reached.
Operation is denied because invoker has not enough resource quota.
Operation succeed.
Operation failed because something is wrong in the system.
Operation failed because some system limit has been exceed.
Operation failed due to unspecified reason (do not use this if at all possible!!).
Operation failed because invoker tried using wrong credentials.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ISO8601 is timestamp format used by Logger.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
MetricsHook exposes Prometheus counters for each of logrus' log levels.

# Interfaces

AuditLogger is the interface for audit loggers.
Logger is the interface for loggers.
StdLogger is the interface which allows us to use Logger with Print methods.

# Type aliases

No description provided by the author
EventTypes represents type of Audit Event.
No description provided by the author
No description provided by the author