{"repo":"loresoft/NLog.Mongo","free":true,"listed":false,"github":"https://github.com/loresoft/NLog.Mongo","clone":"git clone https://github.com/loresoft/NLog.Mongo.git","description":"MongoDB Target for NLog","language":"C#","stars":67,"topics":["nlog","mongodb","mongo"],"license":"MIT","category":"data-pipelines","readme_excerpt":"NLog.Mongo Writes NLog messages to MongoDB. Download The NLog.Mongo library is available on nuget.org via package name NLog.Mongo . To install NLog.Mongo, run the following command in the Package Manager Console PM Install-Package NLog.Mongo More information about NuGet package avaliable at Configuration Syntax Parameters General Options name - Name of the target. Connection Options connectionName - The name of the connection string to get from the config file. connectionString - Connection string. When provided, it overrides the values specified in connectionName. databaseName - The name of the database, overrides connection string database. Collection Options collectionName - The name of the MongoDB collection to write logs to. cappedCollectionSize - If the collection doesn't exist, it will be create as a capped collection with this max size. cappedCollectionMaxItems - If the collection doesn't exist, it will be create as a capped collection with this max number of items. cappedCollectionSize must also be set when using this setting. Document Options includeDefaults - Specifies if the default document is created when writing to the collection. Defaults to true. field - Specifies a root level document field. There can be multiple fields specified. property - Specifies a dictionary property on the Properties field. There can be multiple properties specified. includeEventProperties - Specifies if LogEventInfo Properties should be automatically included. Defaults to true. Examp","default_branch":null,"files":null,"tree":[],"storefront":"/r/loresoft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/loresoft/NLog.Mongo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}