CMGDK r49-rc2
函数
hgl::loginfo名字空间参考

函数

PlugInInitLog (const wchar_t *, bool)
 初始化日志系统
void CloseLog ()
 关闭日志系统
void PutInfo ()
 无内容输出(断行)
void PutInfo (const wchar_t *,...)
 输出日志信息(UNICODE版本)
void PutError (const wchar_t *,...)
 输出错误信息(UNICODE版本)
void ShowMessage (const wchar_t *,...)
 显示信息(UNICODE版本)
void PutInfo (unsigned int, const char *,...)
 输出日志信息(ANSI版本)
void PutError (unsigned int, const char *,...)
 输出错误信息(ANSI版本)
void ShowMessage (unsigned int, const char *,...)
 显示信息(ANSI版本)
bool ShowSelectDialog (const wchar_t *)
 显示YES/NO对话框
void PutLogHeader ()
PlugInCreateLog (const wchar_t *project_code, bool hint_error)
void PutInfo (uint ccp, const char *fmt,...)
void PutError (uint ccp, const char *fmt,...)
void ShowMessage (uint ccp, const char *fmt,...)

函数文档

void hgl::loginfo::CloseLog ( )

关闭日志系统

PlugIn* hgl::loginfo::CreateLog ( const wchar_t *  project_code,
bool  hint_error 
)
PlugIn * hgl::loginfo::InitLog ( const wchar_t *  project_code,
bool  hint_error 
)

初始化日志系统

void hgl::loginfo::PutError ( unsigned  int,
const char *  ,
  ... 
)

输出错误信息(ANSI版本)

void hgl::loginfo::PutError ( const wchar_t *  fmt,
  ... 
)

输出错误信息(UNICODE版本)

输出错误信息到日志文件并显示错误提示框(UNICODE版本)

参数:
fmtprintf风格的格式化字串
void hgl::loginfo::PutError ( uint  ccp,
const char *  fmt,
  ... 
)

输出错误信息到日志文件并显示错误提示框(ANSI版本)

参数:
ccp代码页
fmtprintf风格的格式化字串
void hgl::loginfo::PutInfo ( const wchar_t *  fmt,
  ... 
)

输出日志信息(UNICODE版本)

输出信息到日志文件(UNICODE版本)

参数:
fmtprintf风格的格式化字串
void hgl::loginfo::PutInfo ( uint  ccp,
const char *  fmt,
  ... 
)

输出信息到日志文件(ANSI版本)

参数:
ccp代码页
fmtprintf风格的格式化字串
void hgl::loginfo::PutInfo ( )

无内容输出(断行)

输出一个空行到日志文件

void hgl::loginfo::PutInfo ( unsigned  int,
const char *  ,
  ... 
)

输出日志信息(ANSI版本)

void hgl::loginfo::PutLogHeader ( )
void hgl::loginfo::ShowMessage ( unsigned  int,
const char *  ,
  ... 
)

显示信息(ANSI版本)

void hgl::loginfo::ShowMessage ( const wchar_t *  fmt,
  ... 
)

显示信息(UNICODE版本)

显示信息提示框

参数:
fmtprintf风格的格式化字串
void hgl::loginfo::ShowMessage ( uint  ccp,
const char *  fmt,
  ... 
)

显示信息提示框

参数:
ccp代码页
fmtprintf风格的格式化字串
bool hgl::loginfo::ShowSelectDialog ( const wchar_t *  message)

显示YES/NO对话框

 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义