# Stackdriver Logging Client - Class Entry (2.1.0)

2.1.0 (latest) 2.0.0 1.34.5 1.33.0 1.32.3 1.31.3 1.30.3 1.29.0 1.28.5 1.27.1 1.26.0 1.25.5 1.24.10 Reference documentation and code samples for the Stackdriver Logging Client class Entry.

An individual entry in a log.

Example:

    use Google\Cloud\Logging\LoggingClient;

    $logging = new LoggingClient();

    $logger = $logging->logger('my-log');

    $entry = $logger->entry('my message');

## Namespace

Google \\ Cloud \\ Logging

## Methods

### __construct

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `info` | `array` \[optional\] The entry's metadata. |

### info

See also:

- [LogEntry resource documentation.](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `array` |   |