The filesystem functions are used to access and manipulate the filesystem PHP provides you all the posible functions you may need to manipulate a file.
The error and logging functions are part of the PHP core. There is no installation needed to use these functions.
The behaviour of these functions is affected by settings in php.ini.
You can use any of the constant while configuring your php.ini file.