- qtgui
- qtdbus
- qtwidgets
- qtcore
- dtkcore
- qsettingbackend_zh
- dobject_zh
- abstractappender_zh
- abstractstringappender_zh
- dfilewatcher_zh
- outputdebugappender_zh
- dsettingsbackend_zh
- drecentmanager_zh
- ddesktopentry_zh
- consoleappender_zh
- gsettingsbackend_zh
- dsettingsgroup_zh
- dlogmanager_zh
- fileappender_zh
- dsettings_zh
- dfilesystemwatcher_zh
- dfilewatchermanager_zh
- dbasefilewatcher_zh
- dtkgui
- dtkwidget
- dviewitemaction_zh
- dstandarditem_zh
- dfiledialog_zh
- dclipeffectwidget_zh
- danchors_zh
- dgraphicsclipeffect_zh
- dstyle_zh
- dcoloredprogressbar_zh
- dbuttonboxbutton_zh
- dlabel_zh
- dtiplabel_zh
- darrowlinedrawer_zh
- daboutdialog_zh
- dsettingswidgetfactory_zh
- dsearchcombobox_zh
- dcrumbedit_zh
- dcommandlinkbutton_zh
- dsettingsdialog_zh
- dwindowoptionbutton_zh
- dspinner_zh
- dsimplelistview_zh
- dwaterprogress_zh
- dmainwindow_zh
- dhidpihelper_zh
- dslider_zh
- dpasswordedit_zh
- danchorinfo_zh
- dmpriscontrol_zh
- darrowbutton_zh
- dbackgroundgroup_zh
- dcircleprogress_zh
- dwarningbutton_zh
- dwindowclosebutton_zh
- dvideowidget_zh
- dfilechooseredit_zh
- dblureffectwidget_zh
- darrowrectangle_zh
- dsearchedit_zh
- dfloatingmessage_zh
- dswitchlineexpand_zh
- dtabbar_zh
- dlineedit_zh
- danchorsbase_zh
- dstylediconengine_zh
- dwindowmaxbutton_zh
- dpageindicator_zh
- dsuggestbutton_zh
- dapplicationsettings_zh
- dtooltip_zh
- dwindowminbutton_zh
- ddrawer_zh
- dtitlebar_zh
- dsimplelistitem_zh
- dpicturesequenceview_zh
dlogmanager_zh
Class::DLogManager
暂无该属性
Detailed Description
DLogManager is the deepin user application log manager
DLogManager::registerConsoleAppender
void registerConsoleAppender() See also registerFileAppender
DLogManager::registerFileAppender
void registerFileAppender() See also getlogFilePath registerConsoleAppender
DLogManager::getlogFilePath
QString getlogFilePath() ~chinese
获取日志文件路径 ~chinese
默认日志路径是 ~/.cache/organizationName/applicationName.log ~chinese
如果获取 HOME 环境变量失败将不写日志 See also registerFileAppender
DLogManager::setlogFilePath
void setlogFilePath(const QString &logFilePath) ~chinese
设置日志文件路径 ~chinese logFilePath 日志文件路径 ~chinese
如果设置的文件路进不是文件路径将什么都不做,输出一条警告
DLogManager::setLogFormat
void setLogFormat(const QString &format)
DLogManager::initConsoleAppender
void initConsoleAppender()
DLogManager::initRollingFileAppender
void initRollingFileAppender()
DLogManager::joinPath
QString joinPath(const QString &path, const QString &fileName)
DLogManager::instance
DLogManager * instance()
DLogManager::DLogManager
DLogManager()
DLogManager::~DLogManager
~DLogManager()
DLogManager::DLogManager
DLogManager(const DLogManager &)
DLogManager::operator=
DLogManager & operator=(const DLogManager &)