1.0.14 • Published 1 year ago

@logbun/node v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Links

Usage

To integrate the Logbun SDK into your project, follow these steps:

  1. Install the Logbun SDK using npm:

    npm install @logbun/node
  2. Import Logbun in your JavaScript file:

    import Logbun from '@logbun/node';
  3. Initialize Logbun by calling Logbun.init(options) as early as possible after loading the page. This initializes the SDK and hooks into the environment.

    Logbun.init({
      apiKey: '{{API_KEY}}',
      // ... other options
    });

Manual Events

You can manually send events using the notify function provided by @logbun/node. Note that these functions will not perform any action until you have called Logbun.init():

import Logbun from '@logbun/node';

// Capture exceptions, messages, or manual events
Logbun.notify('Rick');
Logbun.notify(new Error('Roll'));

Make sure to replace {{API_KEY}} with your actual Logbun API key.

For more details on configuration options and additional features, refer to the official documentation.

1.0.14

1 year ago

1.0.13

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.12

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.0

1 year ago