Skip to content

Commit

Permalink
chore: add language identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
brnhensley committed May 29, 2023
1 parent caa6d10 commit 6f6d4ce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ redirects:

## Syntax

```
```py
newrelic.agent.initialize(config_file=None, environment=None, ignore_errors=None, log_file=None, log_level=None)
```

Expand Down Expand Up @@ -116,14 +116,14 @@ None.

Here's an example of initializing the Python agent with a config file and an environment string:

```
```py
newrelic.agent.initialize('/etc/newrelic/newrelic.ini', 'production')
```

### Using all parameter values [#init-example-2]

Calling with all parameter values:

```
```py
newrelic.agent.initialize('/etc/newrelic/newrelic.ini', 'production', ignore_errors=False, log_file='/var/log/newrelic.log', log_level=logging.DEBUG)
```

0 comments on commit 6f6d4ce

Please sign in to comment.