Installation

To install the library simply compile it statically into your project.

Configuration

Exporting symbols out of a DLL

If you want to export the symbols of the library out of a DLL, simply define the MLS_EXPORT_LIBRARY macro. Then when building the library, make sure the macro MLS_LIB_COMPILE is enabled.

Disabling instant crashing on errors

Sometimes you may want for the console to hang, and wait for user input before terminating an error. This is mostly useful on Windows, where terminals get closed automatically when the execution of a program ends.

You can enable this feature by defining the ULOG_NO_INSTANT_CRASH macro.

Enabling the dear imgui widget

You can enable an optional integration with the dear imgui library, which adds a console widget. You can enable the widget by defining the ULOG_IMGUI macro.