Logging einer Klasse

Log.Debug oder Info oder Log.Error (System.Text.Json.JsonSerializer.Serialize(classVariable));