Twain_DSM  1.0
Classes | Macros
log.cpp File Reference

Log messages. More...

#include "dsm.h"
Include dependency graph for log.cpp:

Go to the source code of this file.

Classes

class  CTwnDsmLogImpl
 Our implementation class where we hide our attributes... More...
 
struct  CTwnDsmLogImpl::_pod
 We use a pod system because it help prevents us from making dumb initialization mistakes... More...
 

Macros

#define kLOGENV   "TWAINDSM_LOG"
 Enviroment varible of path to where to write the LogFile name. More...
 
#define kLOGMODEENV   "TWAINDSM_LOGMODE"
 Enviroment varible of the fopen logmode to use (if you need to grow the log). More...
 
#define TWNDSM_MAX_MSG   1024
 Maximum message length we can handle... More...
 

Detailed Description

Log messages.

Provide logging for the messages to and from the Data Source Manager.

Author
TWAIN Working Group
Date
March 2007

Definition in file log.cpp.

Macro Definition Documentation

◆ kLOGENV

#define kLOGENV   "TWAINDSM_LOG"

Enviroment varible of path to where to write the LogFile name.

See also
CTwnDsmLog

Definition at line 45 of file log.cpp.

◆ kLOGMODEENV

#define kLOGMODEENV   "TWAINDSM_LOGMODE"

Enviroment varible of the fopen logmode to use (if you need to grow the log).

The default behavior is to wipe it clean each time we start up...

See also
CTwnDsmLog

Definition at line 53 of file log.cpp.

◆ TWNDSM_MAX_MSG

#define TWNDSM_MAX_MSG   1024

Maximum message length we can handle...

See also
CTwnDsmLog

Definition at line 59 of file log.cpp.