Opened 13 years ago

Closed 9 years ago

#1220 closed task (fixed)

Move logging functions and macros out of liblwgeom.h

Reported by: strk Owned by: strk
Priority: low Milestone: PostGIS 2.2.0
Component: liblwgeom Version: master
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 (5)

comment:1 by strk, 13 years ago

Summary: Move LWDEBUG and friends from liblwgeom.h to an internal headerMove logging functions and macros out of liblwgeom.h

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

comment:2 by strk, 13 years ago

Owner: changed from postgis-devel@… to strk
Status: newassigned

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.

comment:3 by strk, 12 years ago

Milestone: PostGIS 2.0.0PostGIS 2.1.0
Priority: mediumlow
Type: defecttask

comment:4 by robe, 11 years ago

Milestone: PostGIS 2.1.0PostGIS Future

comment:5 by strk, 9 years ago

Milestone: PostGIS FuturePostGIS 2.2.0
Resolution: fixed
Status: assignedclosed

Done with r13652

Note: See TracTickets for help on using tickets.