ZIO
Python and C++ interface to ZeroMQ and Zyre
test
test_logging.cpp
Go to the documentation of this file.
1
#include "
zio/logging.hpp
"
2
#include "
zio/main.hpp
"
3
4
using namespace
zio
;
5
6
int
main
()
7
{
8
zio::init_all
();
9
10
// You won't see debug unless do like:
11
// $ SPDLOG_LEVEL=debug ./build/test_logging
12
zio::debug
(
"debug"
);
13
zio::info
(
"info"
);
14
zio::warn(
"warn"
);
15
zio::error
(
"error"
);
16
zio::critical(
"critical"
);
17
18
return
0;
19
}
20
21
main
int main()
Definition:
test_logging.cpp:6
zio::level::error
Definition:
message.hpp:20
logging.hpp
zio::init_all
void init_all()
Definition:
main.cpp:22
zio::level::debug
Definition:
message.hpp:20
zio::level::info
Definition:
message.hpp:20
zio
implementation of ZIO data flow protocol endpoints
Definition:
actor.hpp:14
main.hpp
Generated by
1.8.13