# LogSubscriber Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [LogSubscriber](/reference/api/csharp/aspire.hosting/logsubscriber.md)
- Kind: `Properties`
- Members: `2`

Represents a log subscriber for a resource.

## AnySubscribers

- Name: `AnySubscribers`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ResourceLoggerService.cs)

Determines if there are any subscribers.

```csharp
public bool AnySubscribers { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ResourceLoggerService.cs)

The the resource name.

```csharp
public string Name { get; init; }
```
