frontierdebug.c File Reference

#include "frontier.h"
#include "standard.h"
#include "about.h"
#include "frontierdebug.h"
#include "process.h"
#include "processinternal.h"
#include "strings.h"

Include dependency graph for frontierdebug.c:

Go to the source code of this file.

Functions

static void logtofile (char *str, char *category)
static void logtoaboutwindow (char *str)
static void logtodialog (char *str)
static void logtodebugger (char *str)
static void logtotargets (char *str, long targetflags, char *category)
void logmessage (char *msg, char *file, long line, long targetflags, char *category)
long logassert (char *expr, char *file, long line, long targetflags, char *category)
void logstartup ()
void logshutdown ()

Variables

static const char debuglogname [] = "frontierdebuglog.txt"
static FILE * logfile = nil
static boolean flreentering = false


Function Documentation

long logassert char *  expr,
char *  file,
long  line,
long  targetflags,
char *  category
 

Definition at line 269 of file frontierdebug.c.

References logtotargets().

Here is the call graph for this function:

void logmessage char *  msg,
char *  file,
long  line,
long  targetflags,
char *  category
 

Definition at line 257 of file frontierdebug.c.

References logtotargets().

Here is the call graph for this function:

void logshutdown void   ) 
 

Definition at line 290 of file frontierdebug.c.

References logfile, and NULL.

Referenced by shellshutdown().

void logstartup void   ) 
 

Definition at line 283 of file frontierdebug.c.

static void logtoaboutwindow char *  str  )  [static]
 

Definition at line 208 of file frontierdebug.c.

References aboutsetmiscstring(), bigstring, and copyctopstring().

Referenced by logtotargets().

Here is the call graph for this function:

static void logtodebugger char *  str  )  [static]
 

Definition at line 224 of file frontierdebug.c.

References bigstring, copyctopstring(), and DebugStr().

Referenced by logtotargets().

Here is the call graph for this function:

static void logtodialog char *  str  )  [static]
 

Definition at line 218 of file frontierdebug.c.

Referenced by logtotargets().

static void logtofile char *  str,
char *  category
[static]
 

Definition at line 171 of file frontierdebug.c.

References debuglogname, getcurrentthread(), logfile, long, and NULL.

Referenced by logtotargets().

Here is the call graph for this function:

static void logtotargets char *  str,
long  targetflags,
char *  category
[static]
 

Definition at line 234 of file frontierdebug.c.

References flreentering, LAND_LOGTARGET_ABOUT, LAND_LOGTARGET_DEBUGGER, LAND_LOGTARGET_DIALOG, LAND_LOGTARGET_FILE, logtoaboutwindow(), logtodebugger(), logtodialog(), and logtofile().

Referenced by logassert(), and logmessage().

Here is the call graph for this function:


Variable Documentation

const char debuglogname[] = "frontierdebuglog.txt" [static]
 

Definition at line 38 of file frontierdebug.c.

Referenced by logtofile().

boolean flreentering = false [static]
 

Definition at line 42 of file frontierdebug.c.

Referenced by logtotargets().

FILE* logfile = nil [static]
 

Definition at line 40 of file frontierdebug.c.

Referenced by logshutdown(), and logtofile().


Generated on Thu Jun 1 10:43:07 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6