AppCenterLogger
AppCenter logger provider implementation for Microsoft.Extensions.Logging.
Install / Use
/learn @jamiewest/AppCenterLoggerREADME
AppCenter Logger
A Microsoft AppCenter logger provider implementation for Microsoft.Extensions.Logging.
Visual Studio App Center is the next generation of Xamarin Test Cloud, and includes all the functionality of Xamarin Test Cloud and more. This logger is intended to be used in Xamarin.Forms projects that make use of Microsoft.Extensions.Hosting to manage basic app functions like logging, DI, and configuration. See here for more information regarding .NET Generic Host.
This package uses dependency injection from Microsoft.Extensions.DependencyInjection to handle the logger injection. Here is a link where you can read more about Microsoft's DI.
To add a provider, call the provider's Add{provider name} extension method.
Example Usage
var host = new HostBuilder()
.ConfigureLogging((hostContext, logging) =>
{
logging.AddAppCenter(options => options.AppCenterIosSecret == "<Your AppCenter iOS Secret>");
})
Above we use a Generic HostBuilder to add in our logger implementation and specify an iOS secret (obtained from AppCenter). Add least one iOS, Android, or UWP secret needs to be specified in the options.
Installation
You can add this library to your project using [NuGet][nuget].
Package Manager Console Run the following command in the “Package Manager Console”:
PM> Install-Package West.Extensions.Logging.AppCenter
Visual Studio Right click to your project in Visual Studio, choose “Manage NuGet Packages” and search for ‘West.Extensions.Logging.AppCenter’ and click ‘Install’. ([see NuGet Gallery][nuget-gallery].)
.NET Core Command Line Interface Run the following command from your favorite shell or terminal:
dotnet add package West.Extensions.Logging.AppCenter
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
