encfs/vendor/github.com/muflihun/easyloggingpp/samples/STL/manipulators.cpp
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

30 lines
584 B
C++

//
// This file is part of Easylogging++ samples
//
// Demonstration of manipulators usages and how they behave
//
// Revision 1.1
// @author mkhan3189
//
#include "easylogging++.h"
INITIALIZE_EASYLOGGINGPP
int main(void) {
LOG(INFO) << "std::endl" << std::endl;
LOG(INFO) << "std::flush" << std::flush;
LOG(INFO) << "std::uppercase ";
double i = 1.23e100;
LOG(INFO) << i;
LOG(INFO) << std::uppercase << i;
int j = 10;
LOG(INFO) << std::hex << std::nouppercase << j;
LOG(INFO) << std::hex << std::uppercase << j;
return 0;
}