new Logger()
Singleton logging class to provide custom logger for library.
Define the new logger at the top of the program, before instantiating any new client or server classes.
- Source:
Returns:
instance of Logger
Methods
-
getInstance()
-
- Source:
Returns:
instance of
Logger -
getLogger()
-
- Source:
Returns:
Logger.log -
setLogger(newLogger)
-
Overwrite
Logger.log, defaultconsole, which is used for messages within the libraryParameters:
Name Type Description newLoggerobject Object to overwrite
consolelogging- Source: