C# Class Kudu.Core.Tracing.Analytics

Inheritance: IAnalytics
显示文件 Open project: projectkudu/kudu Class Usage Examples

Public Methods

Method Description
Analytics ( IDeploymentSettingsManager settings, IServerConfiguration serverConfiguration, ITraceFactory traceFactory ) : System
DeprecatedApiUsed ( string route, string userAgent, string method, string path ) : void
JobEvent ( string jobName, string message, string jobType, string error ) : void
JobStarted ( string jobName, string scriptExtension, string jobType, string siteMode, string error, string trigger ) : void
ProjectDeployed ( string projectType, string result, string error, long deploymentDurationInMilliseconds, string siteMode, string vsProjectId = "" ) : void
SiteExtensionEvent ( string method, string path, string result, string deploymentDurationInMilliseconds, string message ) : void
UnexpectedException ( Exception exception, bool trace = true, string memberName = null, string sourceFilePath = null, int sourceLineNumber ) : void
UnexpectedException ( Exception ex, string method, string path, string result, string message, bool trace = true ) : void

Private Methods

Method Description
GetExceptionContent ( Exception exception, bool trace, string memberName = null, string sourceFilePath = null, int sourceLineNumber ) : string
NullToEmptyString ( string s ) : string

Method Details

Analytics() public method

public Analytics ( IDeploymentSettingsManager settings, IServerConfiguration serverConfiguration, ITraceFactory traceFactory ) : System
settings IDeploymentSettingsManager
serverConfiguration IServerConfiguration
traceFactory ITraceFactory
return System

DeprecatedApiUsed() public method

public DeprecatedApiUsed ( string route, string userAgent, string method, string path ) : void
route string
userAgent string
method string
path string
return void

JobEvent() public method

public JobEvent ( string jobName, string message, string jobType, string error ) : void
jobName string
message string
jobType string
error string
return void

JobStarted() public method

public JobStarted ( string jobName, string scriptExtension, string jobType, string siteMode, string error, string trigger ) : void
jobName string
scriptExtension string
jobType string
siteMode string
error string
trigger string
return void

ProjectDeployed() public method

public ProjectDeployed ( string projectType, string result, string error, long deploymentDurationInMilliseconds, string siteMode, string vsProjectId = "" ) : void
projectType string
result string
error string
deploymentDurationInMilliseconds long
siteMode string
vsProjectId string
return void

SiteExtensionEvent() public method

public SiteExtensionEvent ( string method, string path, string result, string deploymentDurationInMilliseconds, string message ) : void
method string
path string
result string
deploymentDurationInMilliseconds string
message string
return void

UnexpectedException() public method

public UnexpectedException ( Exception exception, bool trace = true, string memberName = null, string sourceFilePath = null, int sourceLineNumber ) : void
exception System.Exception
trace bool
memberName string
sourceFilePath string
sourceLineNumber int
return void

UnexpectedException() public method

public UnexpectedException ( Exception ex, string method, string path, string result, string message, bool trace = true ) : void
ex System.Exception
method string
path string
result string
message string
trace bool
return void