Uses two partials, tabs
and tab
. tabs
provides the wrapper and sets the tab names. tab
renders the individual tab content.
1// Merging in multiple2return array_merge(3 $this->context->only('foo', 'bar', 'baz')->all(),4 ['local' => 'value']5);
1// Set logger2client.setLogger(new AmplitudeLog() {3 @Override4 public void log(String tag, String message, LogMode messageMode) {5 if (messageMode.level >= logMode.level) {6 // implement using custom logging framework and format7 }8 }9});
Test collapse
Name
Description
Default Value
instanceName
string
. The instance name.$default_instance
flushIntervalMillis
number
. Sets the interval of uploading events to Amplitude in milliseconds.1,000 (1 second)
flushQueueSize
number
. Sets the maximum number of events that are batched in a single upload attempt.30 events
flushMaxRetries
number
. Sets the maximum number of reties for failed upload attempts. This is only applicable to retryable errors.5 times.
logLevel
LogLevel.None
or LogLevel.Error
or LogLevel.Warn
or LogLevel.Verbose
or LogLevel.Debug
. Sets the log level.LogLevel.Warn
loggerProvider
Logger
. Sets a custom loggerProvider
class from the Logger to emit log messages to desired destination.Amplitude Logger
minIdLength
number
. Sets the minimum length for the value of userId
and deviceId
properties.5
optOut
boolean
. Sets permission to track events. Setting a value of true
prevents Amplitude from tracking and uploading events.false
serverUrl
string
. Sets the URL where events are upload to.https://api2.amplitude.com/2/httpapi
serverZone
EU
or US
. Sets the Amplitude server zone. Set this to EU
for Amplitude projects created in EU
data center.US
transportProvider
Transport
. Sets a custom implementation of Transport
to use different request API.FetchTransport
useBatch
boolean
. Sets whether to upload events to Batch API instead of instead of the default HTTP V2 API or not.false
This is a note
Information that's different than a note.
This is a warning
Show an example here
General tip
Alpha
Beta
This is no longer available
Thanks for your feedback!
December 21st, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.