From d669631ad36641e49fca9e96a4bdd5e590efa239 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 27 Dec 2018 19:38:52 +0100 Subject: proj_create_crs_to_crs(): add debugging traces --- src/internal.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/internal.cpp') diff --git a/src/internal.cpp b/src/internal.cpp index 3f3d191e..41744d16 100644 --- a/src/internal.cpp +++ b/src/internal.cpp @@ -416,6 +416,16 @@ void proj_log_debug (PJ *P, const char *fmt, ...) { va_end( args ); } +/*****************************************************************************/ +void proj_context_log_debug (PJ_CONTEXT *ctx, const char *fmt, ...) { +/****************************************************************************** + For reporting debugging information. +******************************************************************************/ + va_list args; + va_start( args, fmt ); + pj_vlog (ctx, PJ_LOG_DEBUG_MAJOR , fmt, args); + va_end( args ); +} /*****************************************************************************/ void proj_log_trace (PJ *P, const char *fmt, ...) { -- cgit v1.2.3