Overview
| Comment: | OFLog: Use ? instead of (nil) for nil programName |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
8fbbf1dbea949bf09f55e80fec1743ed |
| User & Date: | js on 2022-11-13 11:58:04 |
| Other Links: | manifest | tags |
Context
|
2022-11-13
| ||
| 18:46 | utils/ofhttp: Fix signedness mismatch (check-in: 50a345a4f5 user: js tags: trunk) | |
| 11:58 | OFLog: Use ? instead of (nil) for nil programName (check-in: 8fbbf1dbea user: js tags: trunk) | |
| 11:32 | Use OFLog() instead of fprintf(stderr, ...) (check-in: ef470b8aa3 user: js tags: trunk) | |
Changes
Modified src/OFStdIOStream.m from [ef45e21ee6] to [f65f83622c].
| ︙ | ︙ | |||
100 101 102 103 104 105 106 107 108 109 110 111 112 113 | date = [OFDate date]; dateString = [date localDateStringWithFormat: @"%Y-%m-%d %H:%M:%S"]; #ifdef OF_HAVE_FILES me = [OFApplication programName].lastPathComponent; #else me = [OFApplication programName]; #endif msg = [[[OFString alloc] initWithFormat: format arguments: arguments] autorelease]; [OFStdErr writeFormat: @"[%@.%03d %@(%d)] %@\n", dateString, date.microsecond / 1000, me, getpid(), msg]; | > > > | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | date = [OFDate date]; dateString = [date localDateStringWithFormat: @"%Y-%m-%d %H:%M:%S"]; #ifdef OF_HAVE_FILES me = [OFApplication programName].lastPathComponent; #else me = [OFApplication programName]; #endif if (me == nil) me = @"?"; msg = [[[OFString alloc] initWithFormat: format arguments: arguments] autorelease]; [OFStdErr writeFormat: @"[%@.%03d %@(%d)] %@\n", dateString, date.microsecond / 1000, me, getpid(), msg]; |
| ︙ | ︙ |