Greenbone Vulnerability Management Libraries 22.18.1
|
Implementation of sentry methods. More...
Functions | |
int | gvm_has_sentry_support () |
Check for sentry support. | |
void | gvm_sentry_init (const char *dsn, const char *release) |
Initialize Sentry. | |
void | gvm_sentry_log (const char *message) |
Send a message to Sentry server if it was initialized. | |
void | gvm_close_sentry (void) |
Shutdown Sentry if it was initialized. | |
Implementation of sentry methods.
This file contains all methods needed for sentry. To enable sentry and log log in the sentry server, methods in this file are called.
void gvm_close_sentry | ( | void | ) |
Shutdown Sentry if it was initialized.
This function must be called before exiting to ensure that all message has been sent to Sentry.
The function does nothing if HAVE_SENTRY is not defined
int gvm_has_sentry_support | ( | void | ) |
Check for sentry support.
void gvm_sentry_init | ( | const char * | dsn, |
const char * | release ) |
Initialize Sentry.
The function does nothing if HAVE_SENTRY is not defined
[in] | dsn | Sentry DSN |
[in] | release | Module release to be sent to Sentry. |
void gvm_sentry_log | ( | const char * | message | ) |
Send a message to Sentry server if it was initialized.
The function does nothing if HAVE_SENTRY is not defined
[in] | message | Message to send |