src/FS/File/Log/JSON/Writer.php
public static function noteData( $fileName, $data )
	{
		$data	= array_merge(
			array(
				'timestamp' => time()
			),
			$data
		);
		$serial	= json_encode( $data )."\n";
		if( !file_exists( dirname( $fileName ) ) )
			mkDir( dirname( $fileName ), 0700, TRUE );
		return error_log( $serial, 3, $fileName );
	}
public static function noteData( $fileName, $data )
	{
		$data	= array_merge(
			array(
				'timestamp' => time()
			),
			$data
		);
		$serial	= json_encode( $data )."\n";
		if( !file_exists( dirname( $fileName ) ) )
			mkDir( dirname( $fileName ), 0700, TRUE );
		return error_log( $serial, 3, $fileName );
	}
public static function noteData ( $ fileName , $ data ) { $ data = array_merge ( array ( 'timestamp' => time ( ) ) , $ data ) ; $ serial = json_encode ( $ data ) . "\n" ; if ( ! file_exists ( dirname ( $ fileName ) ) ) mkDir ( dirname ( $ fileName ) , 0700 , TRUE ) ; return error_log ( $ serial , 3 , $ fileName ) ; }
Adds Data to Log File statically.
@access		public
@static
@param		string		$fileName		File Name of Log File
@param		array		$data			Data Array to note
@return		bool
Adds Data to Log File statically .