freetype2/include/freetype/internal
Werner Lemberg ff40776591 [base] Add trace level to logging output.
Some practical debugging work has shown that displaying level X of
an `FT_TRACEX` macro in the output of `FT2_DEBUG="...  -v"` would be
very helpful to find out which trace level should be selected.  As
an example, we now get output like

```
[ttobjs:2]    TTF driver
[ttobjs:2]      SFNT driver
[sfobjs:2]      not a font using the SFNT container format
[t1objs:2]    Type 1 driver
[stream:7]    FT_Stream_EnterFrame: 14 bytes
```

* include/freetype/internal/ftdebug.h (FT_LOGGING_TAGX): New macro.
(FT_LOG): Use it to add the trace level to the logging tag.

* include/freetype/internal/fttrace.h (FT_MAX_TRACE_LEVEL_LENGTH):
Adjust.

* docs/DEBUG: Updated.
2021-06-25 09:24:07 +02:00
..
services Update all copyright notices. 2021-01-17 07:18:48 +01:00
autohint.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cffotypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
cfftypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
compiler-macros.h Minor editing of last commit; formatting. 2021-02-13 07:50:04 +01:00
ftcalc.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftdebug.h [base] Add trace level to logging output. 2021-06-25 09:24:07 +02:00
ftdrv.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftgloadr.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
fthash.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmemory.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftobjs.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftpsprop.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftrfork.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftserv.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftstream.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
fttrace.h [base] Add trace level to logging output. 2021-06-25 09:24:07 +02:00
ftvalid.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
psaux.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
pshints.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfnt.h [sfnt] Provide optional root transform for 'COLR' v1 glyph graph. 2021-02-10 18:51:04 +01:00
t1types.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
tttypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
wofftypes.h Update all copyright notices. 2021-01-17 07:18:48 +01:00