Skip to content

Commit cc62b38

Browse files
committedMar 29, 2020
Added codecov, Added badges
1 parent 526e044 commit cc62b38

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
 

‎.codecov.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
comment:
2+
layout: "reach, diff, flags, files"
3+
behavior: default
4+
require_changes: false
5+
branches:
6+
- "!dev"
7+
8+
codecov:
9+
require_ci_to_pass: true
10+
11+
# The slog_serde file is more like a dependency, so ignore it.
12+
ignore:
13+
- src/slog_serde.rs

‎README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
[![Build Status](https://travis-ci.com/jwillbold/slog_mongodb.svg?token=hPh87VpFt3MQPwdySdkS&branch=master)](https://travis-ci.com/jwillbold/slog_mongodb)
2+
[![codecov](https://codecov.io/gh/jwillbold/slog_mongodb/branch/master/graph/badge.svg)](https://codecov.io/gh/jwillbold/slog_mongodb)
3+
14
# slog_mongodb
25

6+
MongoDB extension for the Rust logging library [slog-rs](https://github.com/slog-rs/slog).
37
Serializes the [slog](https://github.com/slog-rs/slog) key-value pairs to [BSON](https://github.com/mongodb/bson-rust) and stores it in a [MongoDB collection](https://github.com/mongodb/mongo-rust-driver).
48
To reduce the stress on the database, the logged messages are buffered and only sent in configurable time intervals.
59

0 commit comments

Comments
 (0)
Please sign in to comment.