Use this for write in logger file, It's better to not use it and lets library use it by itself
| Name | Type | Description | Required |
|---|---|---|---|
| data | string | text that you want to write in logger file | yes |
| type | string | type of logger, see related links | no |
Output : void
Static or normal : Static
logger::write('hello world');