Package ai.superstream.util
Class SuperstreamLogger
java.lang.Object
ai.superstream.util.SuperstreamLogger
Custom logger for the Superstream library.
All logs will have the "superstream" prefix.
-
Method Summary
Modifier and TypeMethodDescriptionvoidLog a debug message with the superstream prefix.voidLog a debug message with parameters and the superstream prefix.voidLog an error message with the superstream prefix.voidLog an error message with parameters and the superstream prefix.voidLog an error message with an exception and the superstream prefix.static SuperstreamLoggerGet a logger for the specified class.voidLog an info message with the superstream prefix.voidLog an info message with parameters and the superstream prefix.voidLog a warning message with the superstream prefix.voidLog a warning message with parameters and the superstream prefix.
-
Method Details
-
getLogger
Get a logger for the specified class.- Parameters:
clazz- The class to get the logger for- Returns:
- A new SuperstreamLogger instance
-
info
Log an info message with the superstream prefix.- Parameters:
message- The message to log
-
info
Log an info message with parameters and the superstream prefix.- Parameters:
message- The message to logargs- The parameters for the message
-
warn
Log a warning message with the superstream prefix.- Parameters:
message- The message to log
-
warn
Log a warning message with parameters and the superstream prefix.- Parameters:
message- The message to logargs- The parameters for the message
-
error
Log an error message with the superstream prefix.- Parameters:
message- The message to log
-
error
Log an error message with parameters and the superstream prefix.- Parameters:
message- The message to logargs- The parameters for the message
-
error
Log an error message with an exception and the superstream prefix.- Parameters:
message- The message to logthrowable- The exception to log
-
debug
Log a debug message with the superstream prefix.- Parameters:
message- The message to log
-
debug
Log a debug message with parameters and the superstream prefix.- Parameters:
message- The message to logargs- The parameters for the message
-