Log errors, warnings, and information with pretty printing
0 Try it
1 Download
2 Build
3 Example
3.1 Example output
Wait for a few moments, then click the play button on the bottom of the window. This will run the example program.
To download log, execute the following command
$ git clone https://github.com/Jacob-C-Smith/log
To build on UNIX like machines, execute the following commands in the same directory
$ cd log
$ cmake .
$ make
This will build the example program, the tester program, and dynamic / shared libraries
To build log for Windows machines, open the base directory in Visual Studio, and build your desired target(s)
To run the example program, execute this command
$ ./log_example
// Initializer
int log_init ( const char *const path );
// Debug logging
int log_error ( const char *const format, ... );
int log_warning ( const char *const format, ... );
int log_info ( const char *const format, ... );