$db public property The MongoDB connection object or the application
init() public method Initializes the MongoDbTarget component
export() public method Stores log messages to MongoDB
$logCollection public property The name of the MongoDB collection