OnixS C++ ICE Binary Order Entry Handler 1.1.1
API Documentation
Loading...
Searching...
No Matches
AuditTrailGenerator.cpp File Reference

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 25 of file AuditTrailGenerator.cpp.

26{
27 // `--help` to show options.
28 const Samples::AppConfiguration<Samples::InputLogFileConfiguration> cfg{"AuditTrailGenerator", argc, argv};
29
30 try
31 {
32 Tools::AuditTrailGenerator{cfg.location()}.generate();
33 }
34 catch (const std::exception& ex)
35 {
36 std::cerr << "EXCEPTION: " << ex.what() << std::endl;
37 return 1;
38 }
39
40 std::clog << "Done." << std::endl;
41
42 return 0;
43}