8#ifndef INCLUDED_BALL_LOGGERMANAGERCONFIGURATION
9#define INCLUDED_BALL_LOGGERMANAGERCONFIGURATION
242#include <balscm_version.h>
251#include <bsl_functional.h>
252#include <bsl_iosfwd.h>
253#include <bsl_string.h>
300 typedef bsl::function<void(
int *,
int *,
int *,
int *,
const char *)>
311#ifndef BDE_OMIT_INTERNAL_DEPRECATED
332#ifndef BDE_OMIT_INTERNAL_DEPRECATED
355 d_categoryNameFilter;
360 d_defaultThresholdsCb;
398 int triggerAllLevel);
465 int triggerAllLevel);
555 bsl::ostream&
print(bsl::ostream& stream,
557 int spacesPerLevel = 4)
const;
Definition ball_loggermanagerconfiguration.h:281
int defaultTriggerLevel() const
LoggerManagerConfiguration & operator=(const LoggerManagerConfiguration &rhs)
const LoggerManagerDefaults & defaults() const
bsl::function< void(bsl::string *, const char *)> CategoryNameFilterCallback
Definition ball_loggermanagerconfiguration.h:295
static bool areValidDefaultThresholdLevels(int recordLevel, int passLevel, int triggerLevel, int triggerAllLevel)
void setDefaultThresholdLevelsCallback(const DefaultThresholdLevelsCallback &thresholdsCb)
int setDefaultThresholdLevelsIfValid(int recordLevel, int passLevel, int triggerLevel, int triggerAllLevel)
~LoggerManagerConfiguration()=default
Destroy this object.
void setUserFieldsPopulatorCallback(const UserFieldsPopulatorCallback &populatorCallback)
int defaultLoggerBufferSize() const
int defaultRecordBufferSize() const
friend bool operator==(const LoggerManagerConfiguration &, const LoggerManagerConfiguration &)
BSLMF_NESTED_TRAIT_DECLARATION(LoggerManagerConfiguration, bslma::UsesBslmaAllocator)
TriggerMarkers
Definition ball_loggermanagerconfiguration.h:326
@ BEGIN_END_MARKERS
Definition ball_loggermanagerconfiguration.h:337
@ e_BEGIN_END_MARKERS
Definition ball_loggermanagerconfiguration.h:329
@ e_NO_MARKERS
Definition ball_loggermanagerconfiguration.h:327
@ BAEL_BEGIN_END_MARKERS
Definition ball_loggermanagerconfiguration.h:334
@ BAEL_NO_MARKERS
Definition ball_loggermanagerconfiguration.h:333
@ NO_MARKERS
Definition ball_loggermanagerconfiguration.h:336
int defaultPassLevel() const
const DefaultThresholdLevelsCallback & defaultThresholdLevelsCallback() const
int defaultRecordLevel() const
TriggerMarkers triggerMarkers() const
friend bsl::ostream & operator<<(bsl::ostream &, const LoggerManagerConfiguration &)
void setCategoryNameFilterCallback(const CategoryNameFilterCallback &nameFilter)
const UserFieldsPopulatorCallback & userFieldsPopulatorCallback() const
bsl::function< void(int *, int *, int *, int *, const char *)> DefaultThresholdLevelsCallback
Definition ball_loggermanagerconfiguration.h:301
const CategoryNameFilterCallback & categoryNameFilterCallback() const
static bool isValidDefaultRecordBufferSize(int numBytes)
static bool isValidDefaultLoggerBufferSize(int numBytes)
LoggerManagerConfiguration(bslma::Allocator *basicAllocator=0)
int setDefaultLoggerBufferSizeIfValid(int numBytes)
void setLogOrder(LogOrder value)
Set the log order attribute of this object to the specified value.
int defaultTriggerAllLevel() const
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
void setDefaultValues(const LoggerManagerDefaults &defaults)
int setDefaultThresholdLevelsIfValid(int passLevel)
LoggerManagerConfiguration(const LoggerManagerConfiguration &original, bslma::Allocator *basicAllocator=0)
bsl::function< void(ball::UserFields *)> UserFieldsPopulatorCallback
Definition ball_loggermanagerconfiguration.h:290
LogOrder
Definition ball_loggermanagerconfiguration.h:303
@ e_FIFO
Definition ball_loggermanagerconfiguration.h:308
@ BAEL_FIFO
Definition ball_loggermanagerconfiguration.h:312
@ LIFO
Definition ball_loggermanagerconfiguration.h:315
@ BAEL_LIFO
Definition ball_loggermanagerconfiguration.h:313
@ FIFO
Definition ball_loggermanagerconfiguration.h:314
@ e_LIFO
Definition ball_loggermanagerconfiguration.h:309
void setTriggerMarkers(TriggerMarkers value)
LogOrder logOrder() const
int setDefaultRecordBufferSizeIfValid(int numBytes)
Definition ball_loggermanagerdefaults.h:204
Definition ball_userfields.h:136
Definition bslstl_string.h:1281
Forward declaration.
Definition bslstl_function.h:934
Definition bslma_allocator.h:457
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition ball_administration.h:214
bsl::ostream & operator<<(bsl::ostream &output, const Attribute &attribute)
Definition bslma_usesbslmaallocator.h:343