mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
13 lines
296 B
TypeScript
13 lines
296 B
TypeScript
/// <reference path='./loggly.d.ts' />
|
|
import loggly = require("loggly");
|
|
|
|
var options: loggly.LogglyOptions = {
|
|
token: "YOUR_TOKEN",
|
|
subdomain: "YOUR_DOMAIN",
|
|
tags: ["NodeJS"],
|
|
json: true
|
|
};
|
|
|
|
var client: loggly.Loggly = loggly.createClient(options)
|
|
client.log('hello world');
|