Browse Source

Cleanup.

pull/3055/head
Dariusz Komosinski 7 years ago
parent
commit
1f69340452
  1. 17
      src/Avalonia.Base/AvaloniaObject.cs

17
src/Avalonia.Base/AvaloniaObject.cs

@ -820,16 +820,13 @@ namespace Avalonia
/// <param name="priority">The priority.</param>
private void LogPropertySet(AvaloniaProperty property, object value, BindingPriority priority)
{
if (Logger.TryGetLogger(LogEventLevel.Verbose, out var logger))
{
logger.Log(
LogArea.Property,
this,
"Set {Property} to {$Value} with priority {Priority}",
property,
value,
priority);
}
Logger.TryGetLogger(LogEventLevel.Verbose)?.Log(
LogArea.Property,
this,
"Set {Property} to {$Value} with priority {Priority}",
property,
value,
priority);
}
private class DirectBindingSubscription : IObserver<object>, IDisposable

Loading…
Cancel
Save