Skip to content

Extension to Pantheios logging library that provides auto-initialisation of Pantheios core and top-level exception-handling, for C and C++

License

Notifications You must be signed in to change notification settings

synesissoftware/Pantheios.Extras.Main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pantheios.Extras.Main

Git access to the Pantheios Extras library Pantheios.Extras.Main, which provides a suite of functions that simplify the implementation of main(), including:

  • (un)initialisation of Pantheios library; and
  • catching of unhandled exceptions and issuing of diagnostic log statements and contingent reports

Table of Contents

Introduction

Diagnosticism is a standalone library of simple components for aiding in diagnostics for C and C++ projects.

Installation

Detailed instructions - via CMake, via bundling, via custom makefile parameters - are provided in the accompanying INSTALL.md file.

Components

C API / core library

int
pantheios_extras_main_invoke(
    int         argc
,   char**      argv
,   int       (*pfnMain)(int, char**)
,   char const* programName
,   void*       reserved
);

C++ API

int
invoke(
    int                 argc
,   char**              argv
,   int (STLSOFT_CDECL* pfnMain)(int, char**)
,   char const*         programName
);

int
invoke(
    int                 argc
,   char**              argv
,   int (STLSOFT_CDECL* pfnMain)(int, char**)
);

Examples

Examples are provided in the examples directory, along with a markdown description for each.

Project Information

Where to get help

GitHub Page

Contribution guidelines

Defect reports, feature requests, and pull requests are welcome on https://github.com/synesissoftware/Pantheios.Extras.Main.

Dependencies

Development dependencies

Related projects

Projects in which Pantheios.Extras.Main is used include:

T.B.C.

Projects in which Pantheios.Extras.Main is used for testing include:

T.B.C.

License

Pantheios.Extras.Main is released under the 3-clause BSD license. See LICENSE for details.

About

Extension to Pantheios logging library that provides auto-initialisation of Pantheios core and top-level exception-handling, for C and C++

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •