Main Page | Alphabetical List | Data Structures | File List | Globals | Related Pages

log.c File Reference

Logging module for PalmOS. More...

#include <PalmOS.h>
#include <stdarg.h>
#include "log.h"
#include "memo.h"

Defines

#define SIZE_INC   1000

Functions

Err log_open ()
 Opens a new log record in memo pad data base.

void log_close ()
 Closes the current log.

void log_delete ()
 Closes and deletes the curent log.

void log_write (char *p)
 Writes the string given in the log, preceded by a time stamp and a newline.

void log_printf (Char *formatStr,...)
 Internal use.


Variables

UInt32 ticks
UInt32 secs
Boolean LogOpened
char * EvtNames []
int DebugIndentLevel


Detailed Description

Logging module for PalmOS.

Author:
C. Claveleira
Date:
2000-2004

Function Documentation

void log_close void   ) 
 

Closes the current log.

Returns:
nothing

void log_delete void   ) 
 

Closes and deletes the curent log.

Returns:
nothing

Err log_open void   ) 
 

Opens a new log record in memo pad data base.

Returns:
nothing

void log_printf Char *  formatStr,
... 
 

Internal use.

Writes "printf" formatted messages to debug log

Parameters:
formatStr Pointer to the format specification string
... parameters
Returns:
nothing

void log_write char *  p  ) 
 

Writes the string given in the log, preceded by a time stamp and a newline.

Parameters:
p string to log
Returns:
nothing


Generated on Sun Mar 13 09:36:01 2005 for GPilotS by doxygen 1.3.6