File: Lib.cpp

package info (click to toggle)
plog 1.1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,404 kB
  • sloc: cpp: 13,637; ansic: 473; sh: 24; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
//
// Library - shows plog usage in static libraries.
//

#include <plog/Log.h>

void foo()
{
    // The logger is initialized in the main app. It is safe not to do that and even not to use plog at all. The library will be linked fine.
    PLOGD << "A message from the static library!";
}