$db public property The DB connection object or the application
init() public method Initializes the DbTarget component
$logTable public property Name of the DB table to store cache
export() public method Stores log messages to DB.