Package at.setup_studios.mc_milsim.util
Class ModLogger
java.lang.Object
at.setup_studios.mc_milsim.util.ModLogger
Custom logger utility for the MILSIM mod.
Provides standardized logging methods with consistent prefix formatting.
Wraps SLF4J logger functionality with mod-specific formatting.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ModLogger
public ModLogger()
-
-
Method Details
-
info
Logs an informational message. Prefixes the message with [MILSIM] tag. Use for general operational information.- Parameters:
message
- The message to be logged at INFO level
-
warn
Logs a warning message. Prefixes the message with [MILSIM] tag. Use for potentially harmful situations.- Parameters:
message
- The message to be logged at WARN level
-
error
Logs an error message. Prefixes the message with [MILSIM] tag. Use for error events that might still allow the application to continue running.- Parameters:
message
- The message to be logged at ERROR level
-
debug
Logs a debug message. Prefixes the message with [MILSIM] tag. Use for detailed information for debugging purposes.- Parameters:
message
- The message to be logged at DEBUG level
-