| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
This avoids checking if verbose logging is enabled on every user defaults
change, and only does so when the verbose logging key changes.
In sampling a few apps, this showed up as a hit when the app changes default
(directly or via the System frameworks storing things). By using KVO for it
it basically disappears from the samples.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Expose internal GTMLogger logging method for subclasses to override.
R=thomasvl
APPROVED=thomasvl
DELTA=20 (9 added, 10 deleted, 1 changed)
|
|
|
|
|
|
|
| |
Allow the GTMLogger macros to be remapped in a prefix by checking if they
are defined before defining them.
R=dmaclach
DELTA=5 (5 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
|
| |
- Make custom level filters much more flexible (arbitrary level combinations).
- Remove older custom level class to prevent confusion.
- Add a new standard logger that tries to produce a reasonable stdout/stderr
split for commandline tools.
R=dmaclach
APPROVED=dmaclach
|
|
|
|
|
|
| |
Add a log filter that filters by simple level comparisons.
R=dmaclach,thomasvl
APPROVED=dmaclach
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix ASL logging to reference the correct formatter (and then replace with
a new formatter).
- Format ASL messages to include information that would normally be present
in the standard formatter.
- Allow ASL writers to pass a facility string.
- Pretty up the function names in all logging, better matching NSAssert()
names (as one example).
- Don't throw if a logging filehandle is closed (SIGPIPE). Random exceptions
from logging is bad, m'kay?
R=thomasvl,dmaclach
APPROVED=thomasvl
|
|
|
|
|
|
|
|
|
| |
Cleans up builds of GTM on Snow Leopard with gcc 4.2.
Cleans up iPhone configs
Adds libgcov for Snow Leopard
Fixes up some small bugs.
R=thomasvl
DELTA=2028 (972 added, 990 deleted, 66 changed)
|
|
|
|
|
|
| |
Include GTMDefines so the 10.5 macro is defined even on Tiger.
R=mdalrymple
DELTA=1 (1 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
|
| |
GTMNSAppleScript+Handler.
- GTMStackTrace support for building a trace from the call stack in an NSException (for 10.5+ and iPhone).
- Added GTMUIFont+LineHeight.
- Cleaned up some OS version checks to use constants instead of numbers directly.
|
|
|
|
|
| |
mark part of the logger+asl code as not feasible for testing.
work around a unittesting marco catch w/ gc and __weak.
|
|
|