Updated Makefiles and CMakeLists.txt to point to resource, not oic-resource
[platform/upstream/iotivity.git] / oc_logger / samples / linux / README
1 To run the oc_logger C sample app, first build liboctbstack.a
2
3 cd <root>/csdk
4
5 To enable logging
6 make BUILD=debug
7 else
8 make BUILD=release
9
10 Next, build the oc_logger C sample app
11
12 cd <root>/oc_logger/samples/linux
13
14 To enable logging
15 make BUILD=debug
16 else
17 make BUILD=release
18
19 The logger sample has two options, default logging or
20 a custom logger that can be supplied by the user application
21
22 To run the application with the default logger, run
23
24 ./debug/test_logging -c 0
25
26 To run the application using a built in custom console logger, run
27
28 ./debug/test_logging -c 1
29
30
31