public static function writeLogs(string $message) : bool
    {
        return (bool) file_put_contents(rtrim(LOGS_PATH, '/') . '/' . gmdate('Y_m_d') . '.log',
                                        '[' . gmdate('d-M-Y H:i:s') . '] ' . $message . PHP_EOL,
                                        FILE_APPEND);
    }
public static function writeLogs(string $message) : bool
    {
        return (bool) file_put_contents(rtrim(LOGS_PATH, '/') . '/' . gmdate('Y_m_d') . '.log',
                                        '[' . gmdate('d-M-Y H:i:s') . '] ' . $message . PHP_EOL,
                                        FILE_APPEND);
    }
public static function writeLogs ( string $ message ) : bool { return ( bool ) file_put_contents ( rtrim ( LOGS_PATH , '/' ) . '/' . gmdate ( 'Y_m_d' ) . '.log' , '[' . gmdate ( 'd-M-Y H:i:s' ) . '] ' . $ message . PHP_EOL , FILE_APPEND ) ; }
Writes message to log.

@param  string  $message The message to write to the log
@return bool
Writes message to log .