FirebaseLoggerAdapter class
Firebase Analytics and Performance are available LoggerAdapter
.
Firebase settings can be specified by passing options.
You can specify instances of FirebaseAnalytics
, FirebaseCrashlytics
or FirebasePerformance
by passing analytics, crashlytics or performance.
FirebaseのAnalyticsとPerformanceを利用できるLoggerAdapter
。
optionsを渡すとFirebaseの設定を指定することが可能です。
analyticsやcrashlytics、performanceを渡すとFirebaseAnalytics
やFirebaseCrashlytics
、FirebasePerformance
のインスタンスを指定可能です。
- Inheritance
-
- Object
- LoggerAdapter
- FirebaseLoggerAdapter
Constructors
- FirebaseLoggerAdapter.new({FirebaseOptions? options, FirebaseAnalytics? analytics, FirebaseCrashlytics? crashlytics, FirebasePerformance? performance})
-
Firebase Analytics and Performance are available
LoggerAdapter
.const
Properties
- analytics → FirebaseAnalytics
-
The instance of
FirebaseAnalytics
to be used.no setter - crashlytics → FirebaseCrashlytics
-
The instance of
FirebaseCrashlytics
to be used.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- options → FirebaseOptions?
-
FirebaseOptions set.
final
- performance → FirebasePerformance
-
The instance of
FirebaseCrashlytics
to be used.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
crash(
) → void - Intentionally crashes.
-
logList(
) → Future< List< LogValue> > -
Get a list of logs recorded.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
String name, {DynamicMap? parameters}) → Future< void> -
Execute the process of saving the log by passing
name
andparameters
, which is the name of the log.override -
toString(
) → String -
A string representation of this object.
inherited
-
trace(
String name) → LoggerTraceValue -
Create
LoggerTraceValue
by passingname
, the name of the log.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited