java.lang.Object
dev.netcode.util.Logger
An abstract Class to generalize Logging
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidLogs a message with the specified loglevel to the desired locationabstract voidlog(LogMessage message)Logs a message from LogMessage object to the desired location
-
Constructor Details
-
Logger
public Logger()Creates Logger object
-
-
Method Details
-
log
Logs a message with the specified loglevel to the desired location- Parameters:
loglevel- of the messagemessage- as String
-
log
Logs a message from LogMessage object to the desired location- Parameters:
message- which should be logged
-