<commit_before># easylog
EasyLog is a simple C++ logging mechanism that can be used for all debugging and production logging related purposes.
# Set Up
1. `git clone https://github.com/davidbiga/easylog.git`
2. `#include "EasyLog.h" where you'd like to register the callback.`
3. Register the callback to EasyLog - `EasyLog::EasyLog::getInstance().registerProcessItemCallback(cb, cb_instance)`
4. EasyLog!

# How-to-use
1. `#include "EasyLog.h"` wherever you'd like to EasyLog.
2. call `EasyLog::EasyLog::getInstance().log(EasyLog::EasyLogType, EasyLog::EasyLogVisibility, "This is EasyLog!");`

For exact implementation and usage, see `main.cpp`.

# Important EasyLog Details
#### `EASY_LOG_VISIBILITY`
Tells access levels for EasyLogItem(s).  This is useful for internal systems that want to limit certain messages from being sent to a client. `0 = Public` - `1 = Protected` - `2 = Private`.  If the system logs as `EasyLogVisibility::Private` and `EASY_LOG_VISIBILITY` is set to `1`, this message will be supressed.<commit_msg>updates documentation<commit_after># easylog
EasyLog is a simple C++ logging mechanism that can be used for all debugging and production logging related purposes.
# Set Up
1. `git clone https://github.com/davidbiga/easylog.git`
2. `#include "EasyLog.h"` where you'd like to register the callback.`
3. Register the callback to EasyLog. e.g `EasyLog::EasyLog::getInstance().registerProcessItemCallback(cb, cb_instance)`
4. EasyLog!

# How-to-use
1. `#include "EasyLog.h"` wherever you'd like to EasyLog.
2. call `EasyLog::EasyLog::getInstance().log(EasyLog::EasyLogType, EasyLog::EasyLogVisibility, "This is EasyLog!");`

For exact implementation and usage, see `main.cpp`.

# Important EasyLog Details
#### `EASY_LOG_VISIBILITY`
Tells access levels for EasyLogItem(s).  This is useful for internal systems that want to limit certain messages from being sent to a client. `0 = Public` - `1 = Protected` - `2 = Private`.  If the system logs as `EasyLogVisibility::Private` and `EASY_LOG_VISIBILITY` is set to `1`, this message will be supressed.

My recommendation would be for your build system to configure this flag and remove it from `EasyLog.h`
{'fraction_non_alphanumeric': 0.10799632352941177, 'fraction_numerical': 0.009191176470588236, 'mean_word_length': 5.22, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2573098', 'n_tokens_mistral': 672, 'n_tokens_neox': 638, 'n_words': 258}