|
OC Updated for version 2.0
|
Functions | |
| void | oc_loginit (void) |
| int | oc_setlogging (int tf) |
| int | oc_logopen (const char *file) |
| void | oc_logclose (void) |
| void | oc_log (int tag, const char *format,...) |
| void | oc_logtext (int tag, const char *text) |
| void oc_log | ( | int | tag, |
| const char * | format, | ||
| ... | |||
| ) |
| void oc_logclose | ( | void | ) |
| void oc_loginit | ( | void | ) |
Definition at line 26 of file oclog.c.
References ENVFLAG, oc_logopen(), and oc_setlogging().
Referenced by oc_logopen(), and oc_setlogging().
| int oc_logopen | ( | const char * | file | ) |
Specify a file into which to place logging output.
| [in] | file | The name of the file into which to place logging output. If the file has the value NULL, then send logging output to stderr. |
Definition at line 69 of file oclog.c.
References oc_loginit(), and oc_setlogging().
Referenced by oc_loginit().
| void oc_logtext | ( | int | tag, |
| const char * | text | ||
| ) |
| int oc_setlogging | ( | int | tf | ) |
Enable/Disable logging.
| [in] | tf | If 1, then turn on logging, if 0, then turn off logging. |
Definition at line 50 of file oclog.c.
References oc_loginit().
Referenced by oc_loginit(), and oc_logopen().
1.7.4