public static function clear() { if (!@unlink(CRAYON_LOG_FILE)) { // Will result in nothing if we can't log self::log('The log could not be cleared', 'Log Clear'); } self::$file = NULL; // Remove file handle }
public static function clear() { if (!@unlink(CRAYON_LOG_FILE)) { // Will result in nothing if we can't log self::log('The log could not be cleared', 'Log Clear'); } self::$file = NULL; // Remove file handle }