ATLAS Offline Software
Loading...
Searching...
No Matches
AthCommonMsg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
12
13#ifndef ATHENABASECOMPS_ATHCOMMONMSG_H
14#define ATHENABASECOMPS_ATHCOMMONMSG_H
15
16#include "GaudiKernel/MsgStream.h"
17
18template <class PBASE>
19class AthCommonMsg : public PBASE {
20public:
21 using PBASE::PBASE;
22
23 // forward to CommonMessaging
24 inline MsgStream& msg() const {
25 return this->msgStream();
26 }
27 inline MsgStream& msg(const MSG::Level lvl) const {
28 return this->msgStream(lvl);
29 }
30 inline bool msgLvl(const MSG::Level lvl) const {
31 return this->msgLevel(lvl);
32 }
33
34};
35
36
37#endif
MsgStream & msg(const MSG::Level lvl) const
bool msgLvl(const MSG::Level lvl) const
MsgStream & msg() const