<commit_before># Console class
The *Console* class is used to print text to console.

## Global variable
The singleton object is defined for Console class.

|Variable   |Class    | Description                     |
|:---       |:---     |:---                             |
|console    |Console  |Singleton object of Console class  |


## Sample
````
function main(args : string[]): number
{
	console.print("Hello to print\n") ;
	console.error("Hello to error\n") ;
	console.log("Hello to log\n") ;
	return 0 ;
}
````

This is terminal to put standard output and standard error:
![console.print](https://github.com/steelwheels/KiwiScript/tree/master/KiwiLibrary/Document/Images/console-print.png)

This is console to output the log:
![console.log](https://github.com/steelwheels/KiwiScript/tree/master/KiwiLibrary/Document/Images/console-log.png)

## `print` method
Print message to standard output.
````
console.print(<message>)
````
### Parameter(s)
|Parameter    |Type   |Description                    |
|:---         |:---   |:---                           |
|message      |String |Log message string             |

### Return value<commit_msg>doc: Fix link in Console.md<commit_after># Console class
The *Console* class is used to print text to console.

## Global variable
The singleton object is defined for Console class.

|Variable   |Class    | Description                     |
|:---       |:---     |:---                             |
|console    |Console  |Singleton object of Console class  |


## Sample
````
function main(args : string[]): number
{
	console.print("Hello to print\n") ;
	console.error("Hello to error\n") ;
	console.log("Hello to log\n") ;
	return 0 ;
}
````

This is terminal to put standard output and standard error:
![console.print](https://github.com/steelwheels/KiwiScript/blob/master/KiwiLibrary/Document/Images/console-print.png)

This is console to output the log:
![console.log](https://github.com/steelwheels/KiwiScript/blob/master/KiwiLibrary/Document/Images/console-log.png)

## `print` method
Print message to standard output.
````
console.print(<message>)
````
### Parameter(s)
|Parameter    |Type   |Description                    |
|:---         |:---   |:---                           |
|message      |String |Log message string             |

### Return value
{'fraction_non_alphanumeric': 0.1445887445887446, 'fraction_numerical': 0.0008658008658008658, 'mean_word_length': 2.490936555891239, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '6871438', 'n_tokens_mistral': 684, 'n_tokens_neox': 655, 'n_words': 177}