C# Class Bugsnag, bugsnag-unity

Inheritance: MonoBehaviour
Mostra file Open project: bugsnag/bugsnag-unity Class Usage Examples

Public Properties

Property Type Description
AutoNotify bool
BugsnagApiKey string
LimitUnityLogs bool
NotifyLevel LogSeverity
RateLimitTimePeriod TimeSpan
SeverityValues string[]
UniqueLogsTimePeriod TimeSpan

Public Methods

Method Description
AddToTab ( string tabName, string attributeName, string attributeValue ) : void
ClearTab ( string tabName ) : void
Init ( string apiKey ) : void
LeaveBreadcrumb ( string breadcrumb ) : void
MapUnityLogToSeverity ( LogSeverity unitySeverity, Severity bugsnagSeverity ) : void
Notify ( Exception e ) : void
Notify ( Exception e, string context ) : void
SetMaximumCount ( LogType unityLogType, int maxCount ) : void
SetUser ( string userId, string userName, string userEmail ) : void

Private Methods

Method Description
Awake ( ) : void
GetLevelName ( ) : string
HandleLog ( string logString, string stackTrace, LogType type ) : void
NotifySafely ( string errorClass, string message, Severity severity, string context, string stackTrace, LogType type ) : void
NotifySafely ( string errorClass, string message, string severity, string context, string stackTrace ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnLevelWasLoaded ( int level ) : void
SceneLoaded ( Scene, scene, LoadSceneMode mode ) : void
Update ( ) : void

Method Details

AddToTab() public static method

public static AddToTab ( string tabName, string attributeName, string attributeValue ) : void
tabName string
attributeName string
attributeValue string
return void

ClearTab() public static method

public static ClearTab ( string tabName ) : void
tabName string
return void

Init() public method

public Init ( string apiKey ) : void
apiKey string
return void

LeaveBreadcrumb() public static method

public static LeaveBreadcrumb ( string breadcrumb ) : void
breadcrumb string
return void

MapUnityLogToSeverity() public static method

public static MapUnityLogToSeverity ( LogSeverity unitySeverity, Severity bugsnagSeverity ) : void
unitySeverity LogSeverity
bugsnagSeverity Severity
return void

Notify() public static method

public static Notify ( Exception e ) : void
e Exception
return void

Notify() public static method

public static Notify ( Exception e, string context ) : void
e Exception
context string
return void

SetMaximumCount() public static method

public static SetMaximumCount ( LogType unityLogType, int maxCount ) : void
unityLogType LogType
maxCount int
return void

SetUser() public static method

public static SetUser ( string userId, string userName, string userEmail ) : void
userId string
userName string
userEmail string
return void

Property Details

AutoNotify public_oe property

public bool AutoNotify
return bool

BugsnagApiKey public_oe property

public string BugsnagApiKey
return string

LimitUnityLogs public_oe static_oe property

public static bool LimitUnityLogs
return bool

NotifyLevel public_oe static_oe property

public static LogSeverity NotifyLevel
return LogSeverity

RateLimitTimePeriod public_oe static_oe property

public static TimeSpan RateLimitTimePeriod
return TimeSpan

SeverityValues public_oe static_oe property

public static string[] SeverityValues
return string[]

UniqueLogsTimePeriod public_oe static_oe property

public static TimeSpan UniqueLogsTimePeriod
return TimeSpan