ExStreamClient.Config (ExStreamClient v0.1.7)
View SourceConfiguration for the Stream client.
Summary
Functions
Returns the logging configuration.
Checks if logging is enabled for a specific category and touchpoint.
Returns the log level.
Functions
@spec api_key() :: String.t()
@spec api_key_secret() :: String.t()
@spec endpoint() :: String.t()
@spec log() :: keyword()
Returns the logging configuration.
Checks if logging is enabled for a specific category and touchpoint.
Examples
log_enabled?(:request, :url) # Check if request URL logging is enabled
log_enabled?(:request, :body) # Check if request body logging is enabled
log_enabled?(:response, :body) # Check if response body logging is enabled
@spec log_level() :: atom()
Returns the log level.