Skip to content

Commit

Permalink
Merge pull request #647 from agilmor/readme_minor_fix
Browse files Browse the repository at this point in the history
Fixing Readme for the right CustomFormatSpecifier signature
  • Loading branch information
abumq authored Dec 25, 2020
2 parents a41864d + d47e10a commit 5b55576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ Please note, date/time is limited to `30` characters at most.
You can also specify your own format specifiers. In order to do that you can use `el::Helpers::installCustomFormatSpecifier`. A perfect example is `%ip_addr` for TCP server application;
```C++
const char* getIp(void) {
const char* getIp(const el::LogMessage*) {
return "192.168.1.1";
}
Expand Down

0 comments on commit 5b55576

Please sign in to comment.