public void Info_writes_to_loggly() { // arrange var logger = new SextantLogger(_encompassConfig, _loggerName); // act logger.Info("Test info from integration test"); // assert Assert.Pass("Check loggly for results"); }
public void Logger_Info_with_tags_dont_conflict_names() { // arrange var additionalTags = new Dictionary <string, string>() { { "tag1", "value1" }, { "tag2", "value2" }, { "mine", "first" } }; var logger = new SextantLogger(_encompassConfig, _loggerName, additionalTags); var tags = new Dictionary <string, string>() { { "tag3", "value3" }, { "mine", "second" }, { "processid", "dont break" } }; // act Assert.DoesNotThrow(() => logger.Info("Some message", tags)); }