logger

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentLogger

type EnvironmentLogger struct {
	// contains filtered or unexported fields
}

func NewEnvironmentLogger

func NewEnvironmentLogger(name string) *EnvironmentLogger

NewEnvironmentLogger creates a new environment logger

func (*EnvironmentLogger) EnvironmentVariableLoaded added in v0.0.6

func (e *EnvironmentLogger) EnvironmentVariableLoaded(variableName string)

EnvironmentVariableLoaded logs a message when an environment variable is loaded

type JwtIssuerLogger added in v0.0.6

type JwtIssuerLogger struct {
	// contains filtered or unexported fields
}

func NewJwtIssuerLogger added in v0.0.6

func NewJwtIssuerLogger(name string) *JwtIssuerLogger

NewJwtIssuerLogger creates a new JWT issuer logger

func (*JwtIssuerLogger) IssuedToken added in v0.0.6

func (e *JwtIssuerLogger) IssuedToken()

IssuedToken logs a message when the server issues a token

func (*JwtIssuerLogger) ValidatedToken added in v0.0.6

func (e *JwtIssuerLogger) ValidatedToken()

ValidatedToken logs a message when the server validates a token

type JwtValidatorLogger added in v0.0.6

type JwtValidatorLogger struct {
	// contains filtered or unexported fields
}

func NewJwtValidatorLogger added in v0.0.6

func NewJwtValidatorLogger(name string) *JwtValidatorLogger

NewJwtValidatorLogger creates a new JWT validator logger

type ListenerLogger

type ListenerLogger struct {
	// contains filtered or unexported fields
}

func NewListenerLogger

func NewListenerLogger(name string) *ListenerLogger

NewListenerLogger creates a new listener logger

func (*ListenerLogger) ServerStarted

func (l *ListenerLogger) ServerStarted(port string)

ServerStarted logs a success message when the server starts

type Logger

type Logger struct {
	Name          string
	FormattedName string
}

func NewLogger added in v0.0.6

func NewLogger(name string) *Logger

NewLogger creates a new logger

type MongoDbLogger

type MongoDbLogger struct {
	// contains filtered or unexported fields
}

func NewMongoDbLogger

func NewMongoDbLogger(name string) *MongoDbLogger

NewMongoDbLogger is the logger for the MongoDB model

func (*MongoDbLogger) ConnectedToMongoDB added in v0.0.2

func (m *MongoDbLogger) ConnectedToMongoDB()

ConnectedToMongoDB logs a success message when the server connects from MongoDB

func (*MongoDbLogger) DisconnectedFromMongoDB added in v0.0.2

func (m *MongoDbLogger) DisconnectedFromMongoDB()

DisconnectedFromMongoDB logs a success message when the server disconnects from MongoDB

Jump to

Keyboard shortcuts

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