# LogLine Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [LogLine](/reference/api/csharp/aspire.hosting/logline.md)
- Kind: `Constructors`
- Members: `1`

Represents a console log line.

## LogLine(int, string, bool)

- Name: `Constructor(int, string, bool)`

Represents a console log line.

```csharp
public struct LogLine
{
    public LogLine(
        int LineNumber,
        string Content,
        bool IsErrorMessage)
    {
        // ...
    }
}
```

## Parameters

- `LineNumber` (`int`)
  The line number.
- `Content` (`string`)
  The content.
- `IsErrorMessage` (`bool`)
  A value indicating whether the log line is error output.
