Package lu.kbra.pclib.logger
Class PCLogger
java.lang.Object
lu.kbra.pclib.logger.PCLogger
- All Implemented Interfaces:
Closeable,AutoCloseable
Deprecated.
use a dedicated library like SLF4J instead
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidclose()Deprecated.static final voidexportDefaultConfig(String outPath) Deprecated.getCallerClassName(boolean parent, boolean simple) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.booleanisInit()Deprecated.voidlog()Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidsetCallerWhiteList(List<String> callerWhiteList) Deprecated.voidsetDisabled(boolean disabled) Deprecated.voidsetForwardContent(boolean forwardContent) Deprecated.voidsetMinForwardLevel(Level minForwardLevel) Deprecated.
-
Constructor Details
-
PCLogger
Deprecated.- Parameters:
file- The file to load the configuration from, uses the default configuration if null. Use#exportDefaultConfig(File)to export the default configuration.- Throws:
IOException
-
PCLogger
Deprecated.- Throws:
IOException
-
PCLogger
Deprecated.- Throws:
IOException
-
-
Method Details
-
exportDefaultConfig
Deprecated.Exports the default configuration file to the specified file path- Throws:
IOException
-
addCallerWhiteList
Deprecated. -
close
Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getCallerClassName
Deprecated. -
getCallerWhiteList
Deprecated. -
getFileWriter
Deprecated. -
getLogFile
Deprecated. -
getMinForwardLevel
Deprecated. -
isDisabled
Deprecated. -
isForwardContent
Deprecated. -
isInit
Deprecated. -
log
Deprecated. -
log
Deprecated. -
log
Deprecated. -
log
Deprecated. -
log
Deprecated. -
log
Deprecated. -
logRaw
Deprecated. -
removeCallerWhiteList
Deprecated. -
setCallerWhiteList
Deprecated. -
setDisabled
Deprecated. -
setForwardContent
Deprecated. -
setMinForwardLevel
Deprecated.
-