diff --git a/ChangeLog b/ChangeLog index d001c83e5..5829467ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * src/base/ftdebug.c (ft_debug_init): Highest debug level is 7, not 6. + * docs/DEBUG: Updated. 2004-08-30 Werner Lemberg diff --git a/docs/DEBUG b/docs/DEBUG index c85ef3cb1..b864d57a0 100644 --- a/docs/DEBUG +++ b/docs/DEBUG @@ -20,7 +20,7 @@ located in the file "ftoptions.h". The macros are: #define this macro if you want to compile both macros FT_ERROR and FT_TRACE. This also includes the variants FT_TRACE0, FT_TRACE1, - FT_TRACE2, ..., FT_TRACE6. + FT_TRACE2, ..., FT_TRACE7. The trace macros are used to send debugging messages when an appropriate "debug level" is configured at runtime through the @@ -94,7 +94,7 @@ its code: internal file . Each such component is assigned a "debug level", ranging from 0 - to 6, through the use of the FT2_DEBUG environment variable + to 7, through the use of the FT2_DEBUG environment variable (described below) when a program linked with FreeType starts. When FT_TRACE is called, its level is compared to the one of the @@ -110,7 +110,7 @@ its code: FT_TRACE( 2, ( "your %s is not %s\n", "foo", "bar" ) ) - The shortcut macros FT_TRACE0, FT_TRACE1, FT_TRACE2_, ... FT_TRACE6 + The shortcut macros FT_TRACE0, FT_TRACE1, FT_TRACE2_, ... FT_TRACE7 can be used with constant level indices, and are much cleaner to use, as in