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:
parent
bcec3efd5f
commit
f2a1c78f96
4 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -267,7 +267,7 @@ private:
|
|||
|
||||
protected:
|
||||
static Logger
|
||||
getStaticLogger() { return villas::logging.get("CoreFactory"); }
|
||||
getStaticLogger() { return villas::logging.get("core:factory"); }
|
||||
|
||||
private:
|
||||
static CoreFactory*
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue