mozilla-services / slog-mozlog-json Goto Github PK
View Code? Open in Web Editor NEWMozLog JSON drain for slog-rs
License: Mozilla Public License 2.0
MozLog JSON drain for slog-rs
License: Mozilla Public License 2.0
I'm integrating slog-mozlog-json
with actix-web, and I realize that I'll duplicate a lot of code from: https://github.com/mozilla-services/megaphone/blob/e8e024574856413f2db7120b51c6f8e0adf42c8d/src/logging.rs#L29-L63
Wouldn't it make sense to have MozLogFields
in this library?
We could have something like this, in our integrations:
impl From<Request> for MozLogFields {
fn from(Request) -> Self {
MozLogFields {
method: request.method().as_str(),
...
}
}
}
As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:
If you have any questions about this file, or Code of Conduct policies and procedures, please reach out to [email protected].
(Message COC001)
This project does not appear to be using cargo-audit (https://github.com/RustSec/cargo-audit) - that’s strongly recommended in order to be warned about dependencies with security vulnerabilities.
Note that this will require you to maintain a Cargo.lock file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.