Ticket #1220 (assigned task)

Opened 3 years ago

Last modified 21 months ago

Move logging functions and macros out of liblwgeom.h

Reported by: strk Owned by: strk
Priority: low Milestone: PostGIS Future
Component: liblwgeom Version: trunk
Keywords: Cc:

Description

All the DEBUG-related macros do not belong to the public header, and they only introduce confusion there. Should be moved somewhere else, liblwgeom_internal.h seems a good bet.

Change History

Changed 3 years ago by strk

  • summary changed from Move LWDEBUG and friends from liblwgeom.h to an internal header to Move logging functions and macros out of liblwgeom.h

Actually also lwerror and lwnotice are likely not useful to have in the public header.

Changed 3 years ago by strk

  • owner changed from postgis-devel@… to strk
  • status changed from new to assigned

Moving LWDEBUG* macros helped find a couple of files with missing copyright headers and misuse of the LW* macro where the POSTGIS_DEBUG* needed to be used instead.

This first step is in r7907.

lwnotice/lwerror still needs to be moved.

Changed 3 years ago by strk

  • priority changed from medium to low
  • type changed from defect to task
  • milestone changed from PostGIS 2.0.0 to PostGIS 2.1.0

Changed 21 months ago by robe

  • milestone changed from PostGIS 2.1.0 to PostGIS Future
Note: See TracTickets for help on using tickets.