mirror of
https://github.com/vgough/encfs.git
synced 2024-12-22 06:30:48 +01:00
5f0806c5cc
git-vendor-name: easylogging git-vendor-dir: vendor/github.com/muflihun/easyloggingpp git-vendor-repository: https://github.com/muflihun/easyloggingpp git-vendor-ref: master
30 lines
584 B
C++
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;
|
|
}
|