Skip to content

Commit

Permalink
How to name a thread
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Jul 24, 2024
1 parent 51c46a9 commit b7dfb8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/include/log4cxx/spi/loggingevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class LOG4CXX_EXPORT LoggingEvent :

/**
* The name you gave to the thread in which this logging event was created.
* You can create a named thread using log4cxx::helpers::ThreadUtility::createThread.
* If Log4cxx is unable to retrieve the thread name using a platform-specific call,
* the value is the same as the thread identity.
*/
Expand Down Expand Up @@ -181,6 +182,7 @@ class LOG4CXX_EXPORT LoggingEvent :
* @return true if \c dest was changed.
*/
bool getProperty(const LogString& key, LogString& dest) const;

/**
* The set of of the key values in the properties
* for the event.
Expand All @@ -189,7 +191,7 @@ class LOG4CXX_EXPORT LoggingEvent :
KeySet getPropertyKeySet() const;

/**
* Associate \c value with the property \c key. since 1.3
* Associate \c value with the property \c key.
*/
void setProperty(const LogString& key, const LogString& value);

Expand Down

0 comments on commit b7dfb8e

Please sign in to comment.