Frontend
All frontend integrations on one place.
Last updated
All frontend integrations on one place.
Last updated
You don't need to install @types/errorlogger-sdk.
Types are shipping with SDK.
You will get autocomplete / intellisense in JS files.
DSN's can be generated at https://error-logger.netlify.app/
Short summary of ErrorLoggerClientOptions:
Create.env
file and add your DSN (Data Source Name).
Go to main.js
and add following lines.
You are good to go. Happy coding :)!
Create.env
file and add your DSN (Data Source Name).
Go to index.js
and add following lines.
You are good to go. Happy coding :)!
Go tosrc/environments/environment.[prod].ts and add DSN to environvment
Go to app.module.ts and add following lines.
You are good to go. Happy coding :)!
Property
Type
Description
dsn
string
Represents an api key which authorizes you with API
environment
string
Represents in which environment you want to log errors. Valid options (development | production)
data
object
Additional data you want to log. EX. Network connection