Package com.glideidentity.logging
Class Logger.DefaultLogger
java.lang.Object
com.glideidentity.logging.Logger.DefaultLogger
- All Implemented Interfaces:
Logger.LoggerInterface
- Enclosing class:
Logger
Default logger with built-in secret sanitization.
Automatically redacts sensitive data (credentials, tokens) from log messages.
Supports TEXT and JSON output formats.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultLogger
-
DefaultLogger
public DefaultLogger()
-
-
Method Details
-
debug
- Specified by:
debugin interfaceLogger.LoggerInterface
-
info
- Specified by:
infoin interfaceLogger.LoggerInterface
-
warn
- Specified by:
warnin interfaceLogger.LoggerInterface
-
error
- Specified by:
errorin interfaceLogger.LoggerInterface
-
error
- Specified by:
errorin interfaceLogger.LoggerInterface
-
getLevel
-
getFormat
-
sanitize
Sanitizes sensitive data from messages.- Parameters:
input- the message to sanitize- Returns:
- message with secrets replaced by ***
-