i have a little problem. I'm developing a php application using Yii2 framework and i want to save a log messagges into db table. I'm coding my own component witch extends DbTarget, in this component i rewrite export() function to save data into my table. It's works fine, but i can't get the log message. For example, when i call Yii:log('message log'), all my data are saved in my db except 'message log' because i don't know how to get this value in my component.
Any solutions? thanks
P.s. I'm newbee with yii2 and i have read the official documentation, but i didn't find any solution.