public class LogConfig extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
LogConfig() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
static LogConfig |
getLogConfig() |
boolean |
isRecordErr()
是否记录错误日志
|
boolean |
isRecordExe4Chart()
是否记录图表
|
boolean |
isRecordExe4edit()
是否记录edit
|
boolean |
isRecordExe4form()
是否记录表单
|
boolean |
isRecordExe4page()
是否记录分页
|
boolean |
isRecordExe4view()
是否记录view
|
boolean |
isRecordExe4write()
是否记录填报
|
boolean |
isRecordExp()
是否记录导出
|
boolean |
isRecordPrt()
是否记录打印
|
boolean |
isRecordToLogDB() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
static void |
registerLogConfig(LogConfig logConfig)
注册日志配置
|
void |
setRecordErr(boolean recordErr)
设置是否记录错误日志
|
void |
setRecordExe4chart(boolean recordExe4chart)
设置是否记录图表
|
void |
setRecordExe4edit(boolean recordExe4edit)
设置是否记录edit
|
void |
setRecordExe4form(boolean recordExe4form)
设置是否记录表单
|
void |
setRecordExe4page(boolean recordExe4page)
设置是否记录分页
|
void |
setRecordExe4view(boolean recordExe4view)
设置是否记录view
|
void |
setRecordExe4write(boolean recordExe4write)
设置是否记录填报
|
void |
setRecordExp(boolean recordExp)
设置是否记录导出
|
void |
setRecordPrt(boolean recordPrt)
设置是否记录打印
|
void |
setRecordToLogDB(boolean shouldLogToLogDB)
统一控制是否记录到logdb, 之前的独立控制需求很少,
界面上选项太多, 已经删了, 有需要就改xml或者做个插件什么的.
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static void registerLogConfig(LogConfig logConfig)
logConfig
- 日志配置public static LogConfig getLogConfig()
public boolean isRecordExe4page()
public void setRecordExe4page(boolean recordExe4page)
recordExe4page
- 是否记录分页public boolean isRecordExe4view()
public void setRecordExe4view(boolean recordExe4view)
recordExe4view
- 否记录viewpublic boolean isRecordExe4edit()
public void setRecordExe4edit(boolean recordExe4edit)
recordExe4edit
- 设置是否记录editpublic boolean isRecordExe4form()
public boolean isRecordExe4Chart()
public void setRecordExe4form(boolean recordExe4form)
recordExe4form
- 设置是否记录表单public void setRecordExe4chart(boolean recordExe4chart)
recordExe4chart
- 设置是否记录图表public boolean isRecordExe4write()
public void setRecordExe4write(boolean recordExe4write)
recordExe4write
- 设置是否记录填报public boolean isRecordExp()
public void setRecordExp(boolean recordExp)
recordExp
- 设置是否记录导出public boolean isRecordPrt()
public void setRecordPrt(boolean recordPrt)
recordPrt
- 设置是否记录打印public boolean isRecordErr()
public void setRecordErr(boolean recordErr)
recordErr
- 设置是否记录错误日志public void setRecordToLogDB(boolean shouldLogToLogDB)
shouldLogToLogDB
- 是否记录日志到logdbpublic boolean isRecordToLogDB()
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常