initial implementation + example + cmake "build"
This commit is contained in:
parent
9c6722f99a
commit
8a1f29a44b
15 changed files with 1130 additions and 0 deletions
14
example/ex1/ex1.cpp
Normal file
14
example/ex1/ex1.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "nestlog/scope.hpp"
|
||||
|
||||
using namespace xo;
|
||||
|
||||
void A(int x) {
|
||||
XO_SCOPE(log);
|
||||
|
||||
log("x:", x);
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char ** argv) {
|
||||
A(66);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue