fatal
Logs a message at SentryLogLevel.FATAL level.
Parameters
The message template (use %s for substitution, %% for literal %)
Arguments to substitute into the message template via toString()
Logs a message at SentryLogLevel.FATAL level with template parameters and inline attributes.
Example:
Sentry.logger.fatal("Connection pool exhausted on %s", dbHost) {
this["database"] = "users"
this["activeConnections"] = 100
}Parameters
The message template (use %s for substitution, %% for literal %)
Arguments to substitute into the message template via toString()
A lambda with SentryAttributes receiver to set key-value attributes
Logs a message at SentryLogLevel.FATAL level with inline attributes.
Example:
Sentry.logger.fatal("Database connection pool exhausted") {
this["database"] = "users"
this["activeConnections"] = 100
}Parameters
The log message
A lambda with SentryAttributes receiver to set key-value attributes
Logs a message at SentryLogLevel.FATAL level using a DSL builder.
Example:
Sentry.logger.fatal {
message("Database connection pool exhausted, shutting down service")
attributes {
this["db.host"] = dbHost
this["db.pool.size"] = poolSize
this["db.active_connections"] = activeConnections
}
}Parameters
A lambda with SentryLogBuilder receiver to configure the log entry