]>
Dogcows Code - chaz/thecheat/blob - ChazLog.h
bc329a5a341cb21b2fb785f7ac70dfa9df18192a
5 // Created by NB McGarvey on 9/6/04.
6 // Copyright 2004 NB McGarvey. All rights reserved.
12 #if defined(__cplusplus)
16 #import <Cocoa/Cocoa.h>
19 /* Enable and disable logging to the standard console. */
21 void ChazLogDisable();
23 /* Required for logging to a debug file. */
24 void ChazDebugSetup();
25 void ChazDebugCleanup();
27 /* Print a log message to the standard console. */
28 void ChazLog( NSString
*format
, ... );
29 /* Print a log message to the debug file (if available). */
30 void ChazDebug( NSString
*format
, ... );
32 /* Returns true if debug mode is active. */
33 BOOL
ChazIsDebugging();
34 /* Returns the absolute filepath of the debug log. */
35 NSString
*ChazDebugLogPath();
37 /* Makes ChazLog() equivalent to ChazDebug(). */
38 // call this after ChazDebugSetup()
39 // this will automatically enable logs
40 void ChazMapLogToDebug();
42 /* Opens the log file using the default text editor. */
43 void ChazOpenDebugLog();
46 #if defined(__cplusplus)
51 #endif /* _ChazLog_h_ */
This page took 0.033822 seconds and 4 git commands to generate.