Vigilant Dart SDK

This is the Dart SDK for the Vigilant platform.

Installation

dart pub add vigilant

Usage (Logger)

import 'package:vigilant/vigilant.dart';

// Create the logger
final logger = Logger(
  name: 'sample-app',
  endpoint: 'ingress.vigilant.run',
  token: 'tk_1234567890',
);

// Send a message to the logger
logger.info('Hello, World!');

// Shutdown the logger
await logger.shutdown();

Libraries

vigilant