mexLog.cpp File Reference

#include "mexLog.h"
#include <cstdarg>
#include <cstdio>

Include dependency graph for mexLog.cpp:

Go to the source code of this file.

Defines

#define BUFMAXSIZE   1000

Functions

void mexInfo (const char *fmt,...)
 writes an info message to mexPrintf
void mexError (const char *fmt,...)
 writes an error message
void mexFatal (const char *fmt,...)
 writes an error message and leaved the mex file
void mexDebug (const char *fmt,...)
 writes a debug message


Detailed Description

a few helpful functions for logging in mex files.

Definition in file mexLog.cpp.


Define Documentation

#define BUFMAXSIZE   1000

Definition at line 14 of file mexLog.cpp.

Referenced by mexDebug(), mexError(), mexFatal(), and mexInfo().


Function Documentation

void mexDebug ( const char *  fmt,
  ... 
)

writes a debug message

Definition at line 50 of file mexLog.cpp.

References BUFMAXSIZE.

void mexError ( const char *  fmt,
  ... 
)

writes an error message

Definition at line 28 of file mexLog.cpp.

References BUFMAXSIZE.

Referenced by MexParams::~MexParams().

void mexFatal ( const char *  fmt,
  ... 
)

writes an error message and leaved the mex file

Definition at line 39 of file mexLog.cpp.

References BUFMAXSIZE.

Referenced by MexParams::~MexParams().

void mexInfo ( const char *  fmt,
  ... 
)

writes an info message to mexPrintf

Definition at line 17 of file mexLog.cpp.

References BUFMAXSIZE.


Generated on Fri Sep 7 13:09:49 2007 for SaliencyToolbox by  doxygen 1.5.2