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 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