diff options
author | rowanbeentje <rowan@beent.je> | 2010-08-01 14:08:53 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-08-01 14:08:53 +0000 |
commit | c2f2a6d1d126e8cb658b745bf5a534ca7307476d (patch) | |
tree | f0332cec0247614bcdd9166f61b856926ff69661 /Source/SPLogger.h | |
parent | a5abfee83c7ffb81c68bbdcec9f24b53d2dd0a09 (diff) | |
parent | 6406428538c8daae5c00a8b4080b5c6a03d45be6 (diff) | |
download | sequelpro-c2f2a6d1d126e8cb658b745bf5a534ca7307476d.tar.gz sequelpro-c2f2a6d1d126e8cb658b745bf5a534ca7307476d.tar.bz2 sequelpro-c2f2a6d1d126e8cb658b745bf5a534ca7307476d.zip |
- Branch (correct) 0.9.8 release for patching
Diffstat (limited to 'Source/SPLogger.h')
-rw-r--r-- | Source/SPLogger.h | 44 |
1 files changed, 2 insertions, 42 deletions
diff --git a/Source/SPLogger.h b/Source/SPLogger.h index 4d394b83..ac9b9a04 100644 --- a/Source/SPLogger.h +++ b/Source/SPLogger.h @@ -27,53 +27,13 @@ @interface SPLogger : NSObject { - /** - * Dump leaks on termination flag. - */ - BOOL dumpLeaksOnTermination; - - /** - * Remove old leak dumps on termination flag. - */ - BOOL removeOldLeakDumpsOnTermination; - - /** - * Log file initialized successfully flag. - */ BOOL initializedSuccessfully; - - /** - * Log file handle. - */ NSFileHandle *logFileHandle; } -/** - * Returns the shared logger. - * - * @return The logger instance - */ + (SPLogger *)logger; -@property(readwrite, assign) BOOL dumpLeaksOnTermination; -@property(readwrite, assign) BOOL removeOldLeakDumpsOnTermination; - -/** - * Dumps the result of running leaks to the file '/tmp/sp.leaks.<pid>.tmp'. - * - * Note, that to enable useful output, make sure the following environment variables are set to YES: - * - * MallocStackLogging - * MallocStackLoggingNoCompact - * - * Also note that the application may take a while to terminate if it has been running for a significant - * period of time or has been handling large amounts of data. - */ -- (void)dumpLeaks; - -/** - * Logs the supplied string to the log file. - */ -- (void)log:(NSString *)theString, ...; +- (void) outputTimeString; +- (void) log:(NSString *)theString, ...; @end |