CCUnit: LogMessage

[ CCUnit project page ] |  | [ CCUnit home page ]

関数 | 変数

# LogMessage
[モジュール階層]

Output messages. [詳細]

LogMessageのコラボレーション図

## 関数
static int | stackdir (const int *caller)
| return stack growing direction.
static int | nestings ()
| count msg function call nestings
static void | msg (const char *prompt, const char *fmt, va_list args)
| print message.
void | ccunit_dbg (const char *fmt,...)
| print debug message.
void | ccunit_log (const char *fmt,...)
| print log message.
void | ccunit_err (const char *fmt,...)
| print error message.
void | ccunit_msg (const char *fmt,...)
| print message.
## 変数
bool | _ccunit_debug_message = false
| debug message flag.
bool | _ccunit_verbose_message = false
| verbose message flag.
bool | _ccunit_debug_message
| flag for print debug message.
bool | _ccunit_verbose_message
| flag for print log message.

## 説明

Output messages.

## 関数

void ccunit_dbg | ( | const char * | fmt,
|  |  | ... |
| ) |  |  | `[inline]`

print debug message.

引数:

  | fmt | message format string.
  | ... | message arguments.

参照元 getEndOfTest(), getTestName(), readDocComment(), readDocCommentContents(), と readTestFunc().

呼出しグラフ:

void ccunit_err | ( | const char * | fmt,
|  |  | ... |
| ) |  |  | `[inline]`

print error message.

引数:

  | fmt | message format string.
  | ... | message arguments.

参照元 ccunit_readSuite(), getTestName(), readDocCommentContents(), readSuite(), と readTestFunc().

呼出しグラフ:

void ccunit_log | ( | const char * | fmt,
|  |  | ... |
| ) |  |  | `[inline]`

print log message.

引数:

  | fmt | message format string.
  | ... | message arguments.

参照元 addTestCaseDef(), addTestSuiteDef(), getEndOfTest(), newFuncDef(), newTestCaseDef(), printPrototype(), printPrototypes(), readDocCommentContents(), readline(), と readTestCase().

呼出しグラフ:

void ccunit_msg | ( | const char * | fmt,
|  |  | ... |
| ) |  |  | `[inline]`

print message.

引数:

  | fmt | message format string.
  | ... | message arguments.

static void msg | ( | const char * | prompt,
|  | const char * | fmt,
|  | va_list | args |
| ) |  |  | `[static]`

print message.

引数:

  | prompt | message prompt string.
  | fmt | message format string for printf.
  | args | message arguments.

参照先 nestings().

関数の呼び出しグラフ:

static int nestings | ( |  | ) | `[static]`

count msg function call nestings

戻り値:
  1 when function nested, -1 when function returned, 0 when function is same level.

参照先 stackdir().

参照元 msg().

関数の呼び出しグラフ:

呼出しグラフ:

static int stackdir | ( | const int * | caller | ) | `[static]`

return stack growing direction.

引数:

  | caller | stack variable address of caller function.

戻り値:
  1 when stack growing up, -1 when stack growing down.

参照元 nestings().

呼出しグラフ:

## 変数

bool _ccunit_debug_message = false

debug message flag.

flag for print debug message.

bool _ccunit_debug_message

flag for print debug message.

bool _ccunit_verbose_message

flag for print log message.

bool _ccunit_verbose_message = false

verbose message flag.

flag for print log message.

| hosts this site. |  | Send comments to: CCUnit Developer |