fix typo in logworker.hpp (#365)

This commit is contained in:
shiyuge 2020-06-24 21:31:26 +08:00 committed by GitHub
parent 2206cea309
commit e639f6d800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,8 +45,8 @@ namespace g3 {
}; };
/// Front end of the LogWorker. API that is usefule is /// Front end of the LogWorker. API that is useful is
/// addSink( sink, default_call ) which returns a handle to the sink. See below and REAME for usage example /// addSink( sink, default_call ) which returns a handle to the sink. See below and README for usage example
/// save( msg ) : internal use /// save( msg ) : internal use
/// fatal ( fatal_msg ) : internal use /// fatal ( fatal_msg ) : internal use
class LogWorker final { class LogWorker final {
@ -61,7 +61,7 @@ namespace g3 {
public: public:
~LogWorker(); ~LogWorker();
/// Creates the LogWorker with no sinks. See exampel below on @ref addSink for how to use it /// Creates the LogWorker with no sinks. See example below on @ref addSink for how to use it
/// if you want to use the default file logger then see below for @ref addDefaultLogger /// if you want to use the default file logger then see below for @ref addDefaultLogger
static std::unique_ptr<LogWorker> createLogWorker(); static std::unique_ptr<LogWorker> createLogWorker();