Changes
This commit is contained in:
@@ -4,8 +4,8 @@ import com.sunyard.proto.Util;
|
||||
import com.sunyard.sge.database.*;
|
||||
import com.sunyard.sge.database.Consts;
|
||||
import com.sunyard.sge.log.LogFactory;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.junit.Assert;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.ArrayList;
|
||||
@@ -16,7 +16,7 @@ public class Sample
|
||||
public static void main(String[] args) {
|
||||
|
||||
// 路径要以 / 或 \\ 结尾表示目录
|
||||
SydApi.SYD_SetLogConfig("./logs/", Consts.LogLevelDebug );
|
||||
SydApi.SYD_SetLogConfig("./logs/",2);
|
||||
|
||||
Logger log = LogFactory.getLogger();
|
||||
log.info("start");
|
||||
|
||||
Reference in New Issue
Block a user