A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mongodb.com/docs/atlas/device-sdks/sdk/dotnet/logging/ below:

Logging - .NET SDK - Atlas Device SDKs

Set the Client Log Level

To control which messages are logged by the client logger, use LogLevel:

Logger.LogLevel = LogLevel.Debug;
Tip

To diagnose and troubleshoot errors while developing your application, set the log level to debug or trace. For production deployments, decrease the log level for improved performance.

Customize the Logging Function

To set a custom logger function, set Logger.Default to a custom Logger function.

using Realms.Logging;Logger.LogLevel = LogLevel.All;// customize the logging function:Logger.Default = Logger.Function(message =>{    // Do something with the message});

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4