How to log a message into logfile only

Hi buddies, I’m now trying to extend a new log target(exp:NetTarget) which will send message to network.In the NetTarget class, I wanto record some information by FileTarget object only(without call Yii::info()).

Can I use FileTarget to record message independently without Yii::info()?