There are no logging messages when I compile code which is using dwg.c.
Logging from encode.c is on the place.

When I am looking to encode.c and dwg.c files, they are similar.
Both have:
```
/* The logging level per .o */
static unsigned int loglevel; 
#ifdef USE_TRACING 
/* This flag means we have checked the environment variable
   LIBREDWG_TRACE and set `loglevel' appropriately.  */
static bool env_var_checked_p;
#endif /* USE_TRACING */
#define DWG_LOGLEVEL loglevel
#include "logging.h"
```
I don't know what happened.

Example:
[ex9.c.gz](https://github.com/LibreDWG/libredwg/files/10518407/ex9.c.gz)
Compile by:
```
gcc -std=c99 -Wall `pkg-config --cflags libredwg` -o ex9 ex9.c `pkg-config --libs libredwg`
```
Issue with logging in dwg.c
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Issue with logging in dwg.c
Issue date:

--- start body ---
There are no logging messages when I compile code which is using dwg.c.
Logging from encode.c is on the place.

When I am looking to encode.c and dwg.c files, they are similar.
Both have:
```
/* The logging level per .o */
static unsigned int loglevel; 
#ifdef USE_TRACING 
/* This flag means we have checked the environment variable
   LIBREDWG_TRACE and set `loglevel' appropriately.  */
static bool env_var_checked_p;
#endif /* USE_TRACING */
#define DWG_LOGLEVEL loglevel
#include "logging.h"
```
I don't know what happened.

Example:
[ex9.c.gz](https://github.com/LibreDWG/libredwg/files/10518407/ex9.c.gz)
Compile by:
```
gcc -std=c99 -Wall `pkg-config --cflags libredwg` -o ex9 ex9.c `pkg-config --libs libredwg`
```
--- end body ---
