C++ Client-Side SDK
LaunchDarkly SDK
Public Member Functions | Friends | List of all members
launchdarkly::config::shared::builders::LoggingBuilder::BasicLogging Class Reference

#include <logging_builder.hpp>

Public Member Functions

BasicLoggingLevel (LogLevel level)
 
BasicLoggingTag (std::string name)
 

Friends

class LoggingBuilder
 

Detailed Description

Class for configuring built in logging using the SDKs console logger.

Member Function Documentation

◆ Level()

LoggingBuilder::BasicLogging & launchdarkly::config::shared::builders::LoggingBuilder::BasicLogging::Level ( LogLevel  level)

Set the enabled log level.

Returns
A reference to this builder.

◆ Tag()

LoggingBuilder::BasicLogging & launchdarkly::config::shared::builders::LoggingBuilder::BasicLogging::Tag ( std::string  name)

Set a tag for this logger. This tag will be included at the start of log entries in square brackets.

If the name was "LaunchDarkly", then log entries will be prefixed with "[LaunchDarkly]".

Parameters
name
Returns

The documentation for this class was generated from the following files: