<?php

/**
 * Log.php
 * 文件描述
 * Created On 2022/1/17
 * @author yuanb yuanbo0x@gmail.com
 */

namespace Tool\LoadTemplate;

trait Log
{
    /**
     * @param $info string
     */
    protected function addError(string $info)
    {
        echo "<br> Error:" . $info . "<br>";
    }

    protected function addInfo(string $info)
    {
        echo "<br> Info:" . $info . "<br>";
    }
}
