logging/backend: Move CreateEntry into the Impl class
This function is only ever used within this source file and makes it easier to remove static state in the following change.
This commit is contained in:
parent
29c3d72940
commit
235fc348af
2 changed files with 28 additions and 31 deletions
|
@ -136,10 +136,6 @@ const char* GetLogClassName(Class log_class);
|
|||
*/
|
||||
const char* GetLevelName(Level log_level);
|
||||
|
||||
/// Creates a log entry by formatting the given source location, and message.
|
||||
Entry CreateEntry(Class log_class, Level log_level, const char* filename, unsigned int line_nr,
|
||||
const char* function, std::string message);
|
||||
|
||||
/**
|
||||
* The global filter will prevent any messages from even being processed if they are filtered. Each
|
||||
* backend can have a filter, but if the level is lower than the global filter, the backend will
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue