You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/logger/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,12 @@ yarn install
13
13
Then, run the development server with `LOGTAIL_SOURCE_TOKEN` and `LOGTAIL_URL` environment variable:
14
14
15
15
```bash
16
-
LOGTAIL_SOURCE_TOKEN=<source-token> LOGTAIL_URL=<ingesting-host> npm run dev
16
+
LOGTAIL_SOURCE_TOKEN=<source_token> LOGTAIL_URL=<ingestion_host> npm run dev
17
17
# or
18
-
LOGTAIL_SOURCE_TOKEN=<source-token> LOGTAIL_URL=<ingesting-host> yarn dev
18
+
LOGTAIL_SOURCE_TOKEN=<source_token> LOGTAIL_URL=<ingestion_host> yarn dev
19
19
```
20
20
21
-
_Don't forget to replace `<source-token>` and `<ingesting-host>` with your actual source token and ingesting host which you can find by going to **[Sources](https://telemetry.betterstack.com/team/0/sources) -> Configure** in Better Stack._
21
+
_Don't forget to replace `<source_token>` and `<ingestion_host>` with your actual source token and ingesting host which you can find by going to **[Sources](https://telemetry.betterstack.com/team/0/sources) -> Configure** in Better Stack._
22
22
23
23
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
24
24
@@ -33,9 +33,9 @@ These endpoints can be edited in `pages/api/`.
33
33
If you are using port 3000 for some other application, you can use a different port by running e.g.:
34
34
35
35
```bash
36
-
LOGTAIL_SOURCE_TOKEN=<source-token> LOGTAIL_URL=<ingesting-host> PORT=3001 npm run dev
36
+
LOGTAIL_SOURCE_TOKEN=<source_token> LOGTAIL_URL=<ingestion_host> PORT=3001 npm run dev
37
37
# or
38
-
LOGTAIL_SOURCE_TOKEN=<source-token> LOGTAIL_URL=<ingesting-host> PORT=3001 yarn dev
38
+
LOGTAIL_SOURCE_TOKEN=<source_token> LOGTAIL_URL=<ingestion_host> PORT=3001 yarn dev
0 commit comments