root/tests/loggers_test.cpp
@
87
| Revision 87, 318 bytes (checked in by smidl, 18 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #include <itpp/itbase.h> |
| 2 | #include <stat/loggers.h> |
| 3 | |
| 4 | using namespace itpp; |
| 5 | |
| 6 | //These lines are needed for use of cout and endl |
| 7 | using std::cout; |
| 8 | using std::endl; |
| 9 | |
| 10 | int main() |
| 11 | { |
| 12 | RV th = RV ( "1 2","{a b }","1 1","0 0"); |
| 13 | RV r = RV ( "3 4" ); |
| 14 | |
| 15 | dirfilelog L("dirfile",10); |
| 16 | |
| 17 | L.add(r,"r"); |
| 18 | L.add(th,"th"); |
| 19 | |
| 20 | L.init(); |
| 21 | |
| 22 | } |
Note: See TracBrowser
for help on using the browser.
