diff --git a/src/util/transformationmanager.cpp b/src/util/transformationmanager.cpp index e9555c0f20..f84580190d 100644 --- a/src/util/transformationmanager.cpp +++ b/src/util/transformationmanager.cpp @@ -28,13 +28,14 @@ namespace openspace { -constexpr const char* _loggerCat = "TransformationManager"; - TransformationManager::TransformationManager(){ #ifdef OPENSPACE_MODULE_KAMELEON_ENABLED _kameleon = std::make_shared(); #else - LWARNING("Kameleon module needed for transformations with dynamic frames"); + LWARNINGC( + "TransformationManager", + "Kameleon module needed for transformations with dynamic frames" + ); #endif _kameleonFrames = { "J2000", "GEI", "GEO", "MAG", "GSE", "GSM", "SM", "RTN", "GSEQ", //geocentric @@ -122,7 +123,10 @@ glm::dmat3 TransformationManager::frameTransformationMatrix( return kameleonTransformation*spiceTransformation; } #else - LERROR("Can not transform dynamic frames without kameleon module enabled"); + LERRORC( + "TransformationManager", + "Can not transform dynamic frames without kameleon module enabled" + ); #endif return glm::dmat3(1.0); }