Opened 6 years ago

Closed 2 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: 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 (5)

comment:1 Changed 6 years ago by strk

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 Changed 6 years ago by strk

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 Changed 6 years ago by strk

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

comment:4 Changed 5 years ago by robe

Milestone: PostGIS 2.1.0PostGIS Future

comment:5 Changed 2 years ago by strk

Milestone: PostGIS FuturePostGIS 2.2.0
Resolution: fixed
Status: assignedclosed

Done with r13652

Note: See TracTickets for help on using tickets.