ATLAS Offline Software
Loading...
Searching...
No Matches
DbPrint.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5//====================================================================
6// APR Printer object
7//--------------------------------------------------------------------
8
9#ifndef POOL_DBPRINT_H
10#define POOL_DBPRINT_H 1
11
12#include <atomic>
14#include "SystemTools.h"
15
16namespace pool {
17
18 struct DbPrintLvl {
19 static std::atomic<MSG::Level> outputLvl;
20 inline static void setLevel( MSG::Level l ) { outputLvl.store(l); }
21 inline static MSG::Level getLevel( const std::string& name );
22 };
23
24
25 class DbPrint : public MsgStream {
26 public:
27 DbPrint( const std::string& name );
28
29 static MsgStream& endmsg( MsgStream& s ) { return ::endmsg(s); }
30 };
31
32
34 class APRMessaging : public AthMessaging {
35 public:
36 APRMessaging(const std::string& name);
37
38 APRMessaging(const APRMessaging&) = delete;
42 };
43
44} // End namespace pool
45#endif // POOL_DBPRINT_H
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
APRMessaging(const APRMessaging &)=delete
APRMessaging & operator=(APRMessaging &&)=delete
APRMessaging(const std::string &name)
APRMessaging & operator=(const APRMessaging &)=delete
APRMessaging(APRMessaging &&)=delete
DbPrint(const std::string &name)
static MsgStream & endmsg(MsgStream &s)
Definition DbPrint.h:29
pool namespace
Definition libname.h:15
static void setLevel(MSG::Level l)
Definition DbPrint.h:20
static std::atomic< MSG::Level > outputLvl
Definition DbPrint.h:19
static MSG::Level getLevel(const std::string &name)