1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

harmonize logger names

This commit is contained in:
Steffen Vogel 2022-08-30 10:38:09 -04:00
parent bcec3efd5f
commit f2a1c78f96
4 changed files with 5 additions and 5 deletions

View file

@ -71,7 +71,7 @@ villas::gpu::GpuAllocator::getName() const
GpuFactory::GpuFactory() :
Plugin("cuda", "CUDA capable GPUs")
{
logger = villas::logging.get("GpuFactory");
logger = villas::logging.get("gpu:factory");
}
// required to be defined here for PIMPL to compile
@ -94,7 +94,7 @@ std::string Gpu::getName() const
cudaDeviceProp deviceProp;
if (cudaGetDeviceProperties(&deviceProp, gpuId) != cudaSuccess) {
// logger not yet availabe
villas::logging.get("Gpu")->error("Cannot retrieve properties for GPU {}", gpuId);
villas::logging.get("gpu")->error("Cannot retrieve properties for GPU {}", gpuId);
throw std::exception();
}

View file

@ -132,7 +132,7 @@ public:
static Logger
getStaticLogger()
{ return villas::logging.get("PCIeCardFactory"); }
{ return villas::logging.get("pcie:card:factory"); }
virtual std::string
getName() const

View file

@ -267,7 +267,7 @@ private:
protected:
static Logger
getStaticLogger() { return villas::logging.get("CoreFactory"); }
getStaticLogger() { return villas::logging.get("core:factory"); }
private:
static CoreFactory*

View file

@ -63,7 +63,7 @@ public:
class StreamGraph : public graph::DirectedGraph<StreamVertex> {
public:
StreamGraph() : graph::DirectedGraph<StreamVertex>("StreamGraph") {}
StreamGraph() : graph::DirectedGraph<StreamVertex>("stream:graph") {}
std::shared_ptr<StreamVertex>
getOrCreateStreamVertex(const std::string &node,