Skip to content

Commit 44db27f

Browse files
authored
fix location of logging header
1 parent d8ce30e commit 44db27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/developing/Logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ There are some other inheritance trees inside of ldmx-sw that have `theLog_` as
7171
There is _a lot_ going on under the hood for this logging library, but I can give slightly more detail to help you if you want to have logging inside of a class that does not inherit from a class that already has the log defined. Basically, each class has a member variable called `theLog_` that is constructed by `makeLogger`. The logger has an associated attribute that boost calls a "channel": a short name for the source of the message. For example, inside of a processor, the channel is the name of the processor. There is another convenience wrapper around the necessary code to "enable logging" inside of your class. Again, this is best illustrated by an example:
7272
```c++
7373
//myClass.h
74-
#include "Exception/Logger.h" //<-- defines the macros you need
74+
#include "Framework/Logger.h" //<-- defines the macros you need
7575
class myClass {
7676
public:
7777
void someFunctionThatLogs() {

0 commit comments

Comments
 (0)