using BitDrift;
Capture.Configure(
apiKey: "YOUR_API_KEY",
sessionStrategy: SessionStrategy.Fixed);
Capture.LogInformation("Hello, world!");
You can also use it with ILogger
using BitDrift;
// startup
builder.Logging.AddBitDrift(
apiKey: "YOUR_API_KEY",
sessionStrategy: SessionStrategy.Fixed);
// use injected ILogger
Logger.LogInformation("Hello, world!");
Install prerequisites:
- .NET 8.0 SDK
- .NET MAUI workload (via Visual Studio or CLI
dotnet workload install maui
) - Android SDK
- Android Studio
- Objective-Sharpie
- Visual Studio or Visual Studio Code
- Xcode
- Xcode Command Line Tools (
xcode-select --install
)
Note
It's possible to install the Android SDK and/or the Xcode Command Line Tools in a standalone manner. However, installation of the Xcode Command Line Tools is typically handled via Xcode. Likewise, Android SDK installation is also typically handled via Android Studio and/or the .NET MAUI VS Code Extension as-per the .NET MAUI Getting Started documentation.