# InMemoryLogBuffer Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.inmemorylogbuffer/)

## AllEntries {#allentries-a85d4944}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.inmemorylogbuffer/properties/allentries-a85d4944/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/Logging/InMemoryLoggerProvider.cs#L27)

```csharp
public IReadOnlyList<LogEntry> AllEntries
```

Gets all log entries currently buffered.

## ApproximateSizeBytes {#approximatesizebytes-971a732e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.inmemorylogbuffer/properties/approximatesizebytes-971a732e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/Logging/InMemoryLoggerProvider.cs#L94-L105)

```csharp
public long ApproximateSizeBytes
```

Gets the approximate size in bytes of all formatted log entries.

## HasWarningsOrErrors {#haswarningsorerrors-a0a41d35}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.inmemorylogbuffer/properties/haswarningsorerrors-a0a41d35/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/Logging/InMemoryLoggerProvider.cs#L42)

```csharp
public bool HasWarningsOrErrors
```

Returns true if any warning or error entries exist.
