diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-12-15 15:55:06 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-12-15 17:24:55 +0100 |
| commit | 41c4e54f036d0f8fcc37920fac4b0fa462fd92b2 (patch) | |
| tree | ea2d9a32f6620cef24f669b902f55c57032d7577 /src/filemanager.cpp | |
| parent | df96a13d2c9b70bc18cec1b08eea5b2b068127d7 (diff) | |
| download | PROJ-41c4e54f036d0f8fcc37920fac4b0fa462fd92b2.tar.gz PROJ-41c4e54f036d0f8fcc37920fac4b0fa462fd92b2.zip | |
Remove internal use of PJ_LOG_DEBUG_MINOR and PJ_LOG_DEBUG_MAJOR
Diffstat (limited to 'src/filemanager.cpp')
| -rw-r--r-- | src/filemanager.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/filemanager.cpp b/src/filemanager.cpp index b51205eb..0a0af8cf 100644 --- a/src/filemanager.cpp +++ b/src/filemanager.cpp @@ -1489,13 +1489,13 @@ static void *pj_open_lib_internal( if (ctx->last_errno == 0 && errno != 0) proj_context_errno_set(ctx, errno); - pj_log(ctx, PJ_LOG_DEBUG_MAJOR, "pj_open_lib(%s): call fopen(%s) - %s", - name, sysname, fid == nullptr ? "failed" : "succeeded"); + pj_log(ctx, PJ_LOG_DEBUG, "pj_open_lib(%s): call fopen(%s) - %s", name, + sysname, fid == nullptr ? "failed" : "succeeded"); return (fid); } catch (const std::exception &) { - pj_log(ctx, PJ_LOG_DEBUG_MAJOR, "pj_open_lib(%s): out of memory", name); + pj_log(ctx, PJ_LOG_DEBUG, "pj_open_lib(%s): out of memory", name); return nullptr; } @@ -1640,8 +1640,7 @@ NS_PROJ::FileManager::open_resource_file(PJ_CONTEXT *ctx, const char *name) { file = open(ctx, remote_file.c_str(), NS_PROJ::FileAccess::READ_ONLY); if (file) { - pj_log(ctx, PJ_LOG_DEBUG_MAJOR, "Using %s", - remote_file.c_str()); + pj_log(ctx, PJ_LOG_DEBUG, "Using %s", remote_file.c_str()); proj_context_errno_set(ctx, 0); } } |
