public class Log4j
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
logName |
| Modifier and Type | Method and Description |
|---|---|
void |
addAppenderLogger(java.lang.String filePath,
org.apache.logging.log4j.Level vlevel) |
static org.apache.logging.log4j.Logger |
getInstance(MerchantConfig merchantConfig) |
public static org.apache.logging.log4j.Logger getInstance(MerchantConfig merchantConfig)
merchantConfig - - contains all information for merchant.public void addAppenderLogger(java.lang.String filePath,
org.apache.logging.log4j.Level vlevel)
filePath - - path for log file.vlevel - - level for log file.Copyright © 2021. All Rights Reserved.