Class OceanusLogger
java.lang.Object
io.github.tonywasher.joceanus.oceanus.logger.OceanusLogger
Logger instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidWrite a debug message with hex data.voidWrite a debug message with hex data.voidWrite a debug message with parameters.voidWrite an error message with parameters.voidWrite an error message with exception.voidWrite a fatal error message with parameters.voidWrite a fatal error message with exception.voidWrite an information message with parameters.
-
Constructor Details
-
OceanusLogger
Constructor.- Parameters:
pManager- the managerpOwner- the owning class
-
-
Method Details
-
debug
Write a debug message with parameters.- Parameters:
pFormat- the formatpArgs- the arguments
-
debug
Write a debug message with hex data.- Parameters:
pMessage- the messagepData- the data
-
debug
Write a debug message with hex data.- Parameters:
pMessage- the messagepData- the datapOffset- the offsetpLength- the length of data
-
info
Write an information message with parameters.- Parameters:
pFormat- the formatpArgs- the arguments
-
error
Write an error message with parameters.- Parameters:
pFormat- the formatpArgs- the arguments
-
error
Write an error message with exception.- Parameters:
pMessage- the messagepException- the exception
-
fatal
Write a fatal error message with parameters.- Parameters:
pFormat- the formatpArgs- the arguments
-
fatal
Write a fatal error message with exception.- Parameters:
pMessage- the messagepException- the exception
-