Help & Support
Book a demo
Community
Book a demo
Help & Support
Logtail
Log management & analysis
Better Uptime
Incident management
Log management
Collect insights across your stack
Uptime monitoring
Get a call when your website goes down
Incident management
Alert the right person on your team
Public status page
Communicate downtime & build trust
Work at Better Stack
Engineering
Documentation
  • Better Uptime
  • Logtail
GitHub
Better Uptime
Logtail
Explore documentation
  1. Welcome to Logtail 👋
  2. Quick start guide
  3. Logs sources
    1. Languages
      1. JavaScript
        1. Quick start guide
        2. Installation
        3. Logging
        4. Typescript
        5. Frameworks
      2. Python
      3. Ruby & Rails
      4. PHP
      5. Java
      6. .NET
    2. Cloud
    3. Web Servers
    4. Servers
    5. Databases
    6. Containers & Clusters
    7. HTTP REST API
  4. Integrations
    1. Slack
  5. Log Forwarding
    1. Vector (Recommended)
    2. Fluent Bit
    3. Logstash
    4. Fluentd
    5. Syslog
  6. API
    1. Get started with Logtail API
    2. Sources API
    3. Query API
  7. Using Logtail
    1. AWS S3-compatible archive
    2. String + JSON format
    3. Live Tail Query Language
    4. Querying data in Logtail
    5. GeoIP map visualization

JavaScript and Node.js

154085622-59997d5a-3f91-4bc9-a815-3b8ead16d28d.jpeg
154085622-59997d5a-3f91-4bc9-a815-3b8ead16d28d.jpeg

Logtail provides clients for JavaScript, Node.js, and multiple logging frameworks.
Choose the approach that is right for you below.

Logtail JavaScript client

Collect logs from browser and Node.js with Logtail logger.

  • Logging from browser and Node.js

Already using a logging framework?

  • Pino transport
  • Koa middleware
  • Winston transport
  • Bunyan client

Previous article

Get started with logging in Logtail

Next article

Logtail JavaScript client

On this page
  • Logtail JavaScript client
  • Already using a logging framework?
Better Stack
All systems operational

[email protected]
+1 (201) 500-2007
Platform
Better Uptime Logtail
Community
Guides Questions Comparisons Write for Us
Company
Work at Better Stack Engineering
Social
Twitter LinkedIn
Solutions
Log management Uptime monitoring Incident management Status Page
Resources
Help & Support Better Uptime docs Logtail docs
Compare
Pingdom Pagerduty StatusPage.io Uptime Robot StatusCake Opsgenie VictorOps
All systems operational
[email protected]
+1 (201) 500-2007
© 2023 Better Stack, Inc. All rights reserved. Better Stack
Terms of Use Privacy Policy GDPR