#include <AxisTrace.h>
Public Methods | |
int | logaxis (const char *sLog, int level, char *arg2, int arg3) |
int | logaxis (const char *sLog1, const char *sLog2, int level, char *arg3, int arg4) |
int | logaxis (const char *sLog1, const int nLog2, int level, char *arg3, int arg4) |
int | logaxis (const char *sLog1, const double dLog2, int level, char *arg3, int arg4) |
int | trace (const char *pchLog) |
int | openFile () |
int | openFileByClient () |
writing to the log could be disabled by commenting the line define ENABLE_AXISTRACE of Axisconfig.h.
|
This is called in writing to the log file whose path is specified in $AXIS_HOME/axiscpp.c * onf file. This method is used when the caller pass first argument as string and the second argument * as double. First is his own message. The other may be to print a trace value. User can also specify the severity of the messag * e by assigning level argument to one of CRITICAL, WARN, INFO or TRIVIAL.
|
|
This is called in writing to the log file whose path is specified in $AXIS_HOME/axiscpp.c * onf file. This method is used when the caller pass first argument as string and the second argument * as long. First is his own message. The other may be to print a trace value. User can also specify the severity of the messag * e by assigning level argument to one of CRITICAL, WARN, INFO or TRIVIAL.
|
|
This is called in writing to the log file whose path is specified in $AXIS_HOME/axiscpp.c * onf file. This method is used when the caller has two string messages as arguments. One may be his *own message. The other may be to print a trace value. User can also specify the severity of the messag *e by assigning level argument to one of CRITICAL, WARN, INFO or TRIVIAL.
|
|
This is called in writing to the log file whose path is specified in $AXIS_HOME/axiscpp.conf file. This method is used when the caller has only one string message as argument. User can also specify the severity of the message by assigning level argument to one of CRITICAL, WARN, INFO or TRIVIAL.
|
|
Log file is opened for logging server side log messages The file is created( if one is already not there) with the name and path specified in $AXIS_HOME/axiscpp.conf file when web server loads.
|
|
Log file is opened for logging client side log messages The file is created with the name ClientAxisLog if one is not already in the current path.
|
|
Writes the given string to the standard console. This method is useful when using the standalone server.
|