Merge branch 'master' of https://github.com/gabime/spdlog
This commit is contained in:
commit
53830726b4
|
@ -98,7 +98,6 @@ int main(int, char* [])
|
||||||
for(int i = 0; i < 10; ++i)
|
for(int i = 0; i < 10; ++i)
|
||||||
file_logger->info("{} * {} equals {:>10}", i, i, i*i);
|
file_logger->info("{} * {} equals {:>10}", i, i, i*i);
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Create a daily logger - a new file is created every day on 2:30am
|
// Create a daily logger - a new file is created every day on 2:30am
|
||||||
//
|
//
|
||||||
|
|
|
@ -112,7 +112,7 @@ int main(int, char*[])
|
||||||
|
|
||||||
// Example of user defined class with operator<<
|
// Example of user defined class with operator<<
|
||||||
class some_class {};
|
class some_class {};
|
||||||
std::ostream& operator<<(std::ostream& os, const some_class& c) {
|
std::ostream& operator<<(std::ostream& os, const some_class&) {
|
||||||
return os << "some_class";
|
return os << "some_class";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue