Logprintf(); Logdump() - VeriFone e355 User And Best Practices Manual

Hide thumbs Also See for e355:
Table of Contents

Advertisement

logprintf()

Prototype
Parameters
Return Values

logdump()

Prototype
Parameters
This is used in writing log messages with severity.
int logprintf (log_severity severity, const char *fmt..)
Severity
Any of define values from list: LOG_DEBUG, LOG_INFO,
LOG_NOTICE, LOG_WARNING, LOG_ERROR,
LOG_CRITICAL, LOG_ALERT, LOG_EMERGENCY
fmt
Standard C printf format string
-1
Buffer overflow
0
Not enabled
>0
Success
This is used for writing data in hex format from memory location.
void logdump(log_severity severity, char *tag, void *addr,
int len)
Severity
Any of define values from list: LOG_DEBUG, LOG_INFO,
LOG_NOTICE, LOG_WARNING, LOG_ERROR,
LOG_CRITICAL, LOG_ALERT, LOG_EMERGENCY.
*tag
Tag name of hex dump
*addr
Starting address of memory
len
Length in bytes
355/
265 U
B
P
E
E
SER AND
EST
L
O
OGGING
PTIONS
logprintf()
69
G
RACTICES
UIDE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E265

Table of Contents