@nomiclabs/buidler > Analytics

# Class: Analytics

# Hierarchy

Analytics

# Index

# Methods


# Methods

# sendTaskHit

sendTaskHit(taskName: string): Promise<[AbortAnalytics, Promise<void>]>

Defined in internal/cli/analytics.ts:90

Parameters:

Name Type Description
taskName string The name of the task to be logged

Returns: Promise<[AbortAnalytics, Promise<void>]> The abort function


# <Static> getInstance

getInstance(rootPath: string, enabled: boolean): Promise<Analytics>

Defined in internal/cli/analytics.ts:43

Parameters:

Name Type
rootPath string
enabled boolean

Returns: Promise<Analytics>