<commit_before># AloFramework | Log #

The logging component, implementing the PSR-3 logging interface.

[![License](https://poser.pugx.org/aloframework/log/license?format=plastic)](LICENSE)
[![Latest Stable Version](https://poser.pugx.org/aloframework/log/v/stable?format=plastic)](https://packagist.org/packages/aloframework/log)
[![Total Downloads](https://poser.pugx.org/aloframework/log/downloads?format=plastic)](https://packagist.org/packages/aloframework/log)

Development code quality: [![SensioLabsInsight](https://insight.sensiolabs.com/projects/c3500bba-d9af-4734-9dc7-31fddc7f8abe/small.png)](https://insight.sensiolabs.com/projects/c3500bba-d9af-4734-9dc7-31fddc7f8abe)

Dev: [![Dev Build Status](https://travis-ci.org/aloframework/log.svg?branch=master)](https://travis-ci.org/aloframework/log)
Release: [![Release Build Status](https://travis-ci.org/aloframework/log.svg?branch=0.1.4)](https://travis-ci.org/aloframework/log)

## Installation ##
Installation is available via Composer:

    composer require aloframework/log

## Usage ##

    <?php
	
		use AloFramework\Log\Log;
		
		// $logLevel = one of the class' constants, the standard debug to emergency levels. Messages below this level will not be logged.
		// $logLabel = however you want to identify entries from this specific log, e.g. [SYSTEM]
		// $pathToLogFile = The path to where the log file will be located
		$log = new Log($logLevel, $logLabel, $pathToLogFile);
		
		$log->notice('My notice message');
		$log->error('An error message');

## Configuration ##<commit_msg>tables in readme<commit_after># AloFramework | Log #

The logging component, implementing the PSR-3 logging interface.

[![License](https://poser.pugx.org/aloframework/log/license?format=plastic)](LICENSE)
[![Latest Stable Version](https://poser.pugx.org/aloframework/log/v/stable?format=plastic)](https://packagist.org/packages/aloframework/log)
[![Total Downloads](https://poser.pugx.org/aloframework/log/downloads?format=plastic)](https://packagist.org/packages/aloframework/log)


|                                                                                          dev-master                                                                                         |                                                             Latest release                                                            |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------:|
| [![Dev Build Status](https://travis-ci.org/aloframework/log.svg?branch=master)](https://travis-ci.org/aloframework/log)                                                                     | [![Release Build Status](https://travis-ci.org/aloframework/log.svg?branch=0.1.1)](https://travis-ci.org/aloframework/log)            |
| [![SensioLabsInsight](https://insight.sensiolabs.com/projects/c3500bba-d9af-4734-9dc7-31fddc7f8abe/mini.png)](https://insight.sensiolabs.com/projects/c3500bba-d9af-4734-9dc7-31fddc7f8abe) | [![SensioLabsInsight](https://i.imgur.com/KygqLtf.png)](https://insight.sensiolabs.com/projects/c3500bba-d9af-4734-9dc7-31fddc7f8abe) |


## Installation ##
Installation is available via Composer:

    composer require aloframework/log

## Usage ##

    <?php
	
		use AloFramework\Log\Log;
		
		// $logLevel = one of the class' constants, the standard debug to emergency levels. Messages below this level will not be logged.
		// $logLabel = however you want to identify entries from this specific log, e.g. [SYSTEM]
		// $pathToLogFile = The path to where the log file will be located
		$log = new Log($logLevel, $logLabel, $pathToLogFile);
		
		$log->notice('My notice message');
		$log->error('An error message');

## Configuration ##
{'fraction_non_alphanumeric': 0.21128542510121456, 'fraction_numerical': 0.021002024291497976, 'mean_word_length': 2.2164361269324653, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3030819', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1107, 'n_words': 197}