Skip to content

Commit

Permalink
reclaim
Browse files Browse the repository at this point in the history
  • Loading branch information
abumq committed Jun 3, 2023
1 parent 8ef3b2d commit 3bbb9a5
Show file tree
Hide file tree
Showing 51 changed files with 118 additions and 132 deletions.
5 changes: 1 addition & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
The MIT License (MIT)

Copyright (c) 2012-present Amrayn.com

https://github.com/amrayn/
https://amrayn.com
Copyright (c) 2012-present @abumq (Majid Q.)

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
139 changes: 68 additions & 71 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion samples/API/logbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Simple custom log builder
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/Qt/basic/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* qmake qt-sample.pro && make
*
* Revision: 1.1
* @author mkhan3189
* @author abumq (Majid Q.)
*/

#include "mythread.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/Qt/shared-lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
@rev 1.0
@since v9.01
@author mkhan3189
@author abumq (Majid Q.)
```
2 changes: 1 addition & 1 deletion samples/STL/all-logs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// We add logging flag `DisableApplicationAbortOnFatalLog` that prevents application abort on FATAL log
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/autospace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Demonstration of auto spacing functionality
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/check-macros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// We add logging flag `DisableApplicationAbortOnFatalLog` that prevents application abort because CHECK macros always log FATAL
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/conditional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// don't want to use default logger
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/configurator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Very basic sample to configure using el::Configuration and configuration file
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/containers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Logs different STL containers, some containing STL templates and other containing our own class Vehicle
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/crash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// and application will not abort before crash is handled
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/custom-class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Demonstration of logging your own class, a bit similar to containers.cpp but specific to custom class only
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include <sstream>
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/custom-crash-handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Custom crash handler sample to demonstrate el::Helpers::setCrashHandler
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/custom-format-spec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Custom format specifier to demonstrate usage of el::Helpers::installCustomFormatSpecifier
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/custom-performance-output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// PerformanceTrackingCallback sample to customize performance output
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/default-configurations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Demonstrates setting default configurations for existing and future loggers
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/default-log-file-from-arg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Default log file using '--default-log-file' arg
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/del-logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Sample to remove logger
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/flags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Demonstration of STL flags, e.g, std::boolalpha
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/global-configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Very basic sample to configure using global configuration (el::Loggers::configureFromGlobal)
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Helpers sample - this sample contains methods with explanation in comments on how to use them
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/locale.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Demonstration on how locale gives output
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//
#ifndef ELPP_UNICODE
# define ELPP_UNICODE
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/log-dispatch-callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Demonstrates how to use log dispatch callback
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/loggable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Usage sample of el::Loggable to make class log-friendly
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/logger-log-functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Very basic sample for Logger::info etc
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/logrotate-pthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Compile: g++ -std=c++11 -Wall -Werror logrotate.cpp -lpthread -o logrotate -DELPP_THREAD_SAFE
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#define ELPP_NO_DEFAULT_LOG_FILE
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/make-loggable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Usage of MAKE_LOGGABLE to make class log-friendly
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/manipulators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Demonstration of manipulators usages and how they behave
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/multiple-loggers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Very basic sample - log using multiple loggers
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/new-logger-registration-callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// LoggerRegistrationCallback sample
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/no-default-log-file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Very basic sample to configure using configuration and not default log file
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#define ELPP_NO_DEFAULT_LOG_FILE
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/occasional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Sample to demonstrate using occasional and other hit count based logging
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/plog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Log using PLOG and family. PLOG is same as perror() with c++-styled stream
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/post-performance-tracking-handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// PerformanceTrackingCallback sample
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/pthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// [icpc | g++ | clang++] ./pthread.cpp -o bin/./pthread.cpp.bin -DELPP_THREAD_SAFE -std=c++0x -pthread -Wall -Wextra
//
// Revision: 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include <pthread.h>
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/roll-out.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Demonstration on possible usage of pre-rollout handler
//
// Revision: 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/smart-pointer-null-check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Smart pointer null check
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/std-array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Demonstration of STL array (std::array) logging, this requires ELPP_LOG_STD_ARRAY macro (recommended to define it in Makefile)
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#define ELPP_LOG_STD_ARRAY
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/syslog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Syslog sample
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#define ELPP_SYSLOG
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/thread-names.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Compile: g++ -std=c++11 -Wall -Werror thread-names.cpp -lpthread -o thread-names -DELPP_THREAD_SAFE
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include <thread>
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/timed-block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// TIMED_BLOCK sample
//
// Revision 1.1
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/timed-scope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// TIMED_SCOPE sample
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/verbose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Demonstration of verbose logging
//
// Revision 1.0
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
2 changes: 1 addition & 1 deletion samples/STL/very-basic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Very basic sample
//
// Revision 1.2
// @author mkhan3189
// @author abumq (Majid Q.)
//

#include "easylogging++.h"
Expand Down
Loading

0 comments on commit 3bbb9a5

Please sign in to comment.