Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 973 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 973 Bytes

cppcapture

pipeline status

C++11 library to capture and send events to various monitoring platforms.

Supported platforms:

Example

ConfigureSentry(DefaultContext(), sentryID, sentryToken);

try {
	CaptureWarning("simple warning message")
		.WithTag("tag1", "value1");
	CaptureError("simple error message")
		.WithExtra({ "extra1", "value" });

	throw std::logic_error{ "exception message" };
} catch (const std::exception & e) {
	CaptureException(e);
}

Characteristics

  • No third party dependencies
  • Support for Linux (g++ / clang) and Windows (VC++)
  • Compatible with legacy systems:
    • GCC >= 4.8
    • Ubuntu >= 14.04
    • CMake >= 2.8

Limitation

  • No HTTPS support

Alternatives

License

MIT