diff --git a/src/core/frontend/camera/factory.cpp b/src/core/frontend/camera/factory.cpp index 2a871196c..619fa3974 100644 --- a/src/core/frontend/camera/factory.cpp +++ b/src/core/frontend/camera/factory.cpp @@ -25,7 +25,7 @@ std::unique_ptr CreateCamera(const std::string& name, const std } if (name != "blank") { - LOG_ERROR(Service_CAM, "Unknown camera \"%s\"", name.c_str()); + NGLOG_ERROR(Service_CAM, "Unknown camera {}", name); } return std::make_unique(); } @@ -39,7 +39,7 @@ std::unique_ptr CreateCameraPreview(const std::string& name, } if (name != "blank") { - LOG_ERROR(Service_CAM, "Unknown camera \"%s\"", name.c_str()); + NGLOG_ERROR(Service_CAM, "Unknown camera {}", name); } return std::make_unique(); } diff --git a/src/core/frontend/camera/factory.h b/src/core/frontend/camera/factory.h index 2c4ab1479..dc795f0ce 100644 --- a/src/core/frontend/camera/factory.h +++ b/src/core/frontend/camera/factory.h @@ -31,7 +31,7 @@ public: * @param flip The image flip to apply * @returns a unique_ptr to the created camera object. * Note: The default implementation for this is to call Create(). Derived classes may have other - * Implementations. For example, A dialog may be used instead of LOG_ERROR when error + * Implementations. For example, A dialog may be used instead of NGLOG_ERROR when error * occurs. */ virtual std::unique_ptr CreatePreview(const std::string& config, int width,