<?php require '../mailLogger.class.php'); mailLogger::instance('logs/log.txt')->mailLog('email@domain.com');