vectordotdev / docs Goto Github PK
View Code? Open in Web Editor NEW🌲Timber.io Documentation
Home Page: https://docs.timber.io
🌲Timber.io Documentation
Home Page: https://docs.timber.io
It looks like the path to TimberFormatter is off in the docs. When attempting to use the dictionary-based LOGGING configuration (see snippet below), I got the following error:
ValueError: Cannot resolve 'timber.TimberFormatter': No module named 'timber.TimberFormatter'
LOGGING = {
# ...
'formatters': {
'timber': {
'()': 'timber.TimberFormatter',
},
},
# ...
}
But this worked:
LOGGING = {
# ...
'formatters': {
'timber': {
'()': 'timber.formatters.TimberFormatter',
},
},
# ...
}
Please update certificate file at
https://files.timber.io/certificates/latest/io.timber-wildcard.pem
to RapidSSL RSA CA 2018.
File is outdated.
At now, It's work as expected when I try
const timber = new Timber(TIMBER_API_KEY, TIMBER_SOURCE_ID);
timber.log("Timber some log message");
timber.info("some log message");
timber.debug("some log message");
timber.warn("some log message");
timber.error("some log message");
But It's not working with debug log level when I integrate with winston:
const loggers = new winston.Container();
const timber = new Timber(TIMBER_API_KEY, TIMBER_SOURCE_ID);
this.loggers.add("timber", {
transports: [new TimberTransport(timber)] as any,
});
loggers.get("timber").info("Hello world from add");
loggers.get("timber").debug("Hello world from add"); // This not work
loggers.get("timber").warn("Hello world from add");
loggers.get("timber").error("Hello world from add");
loggers.get("timber").log({ level: "info", message: "Some message" });
loggers.get("timber").log({ level: "debug", message: "Some message" }); // This not work too
loggers.get("timber").log({ level: "warn", message: "Some message" });
loggers.get("timber").log({ level: "error", message: "Some message" });
Please help fix this. I need this for your cool dashboard
In https://github.com/timberio/docs/blob/master/setup/log-forwarders/syslog.md, rsyslog and "manual" instructions use https://files.timber.io/certificates/latest/io.timber-wildcard.pem, but syslog-ng's instructions involve extra steps to convert from a digicert.com der-encoded crt directly.
It'd make more sense to prefer the timber (really: a redirect?) copy or the digicert copy, not a mix of both among the three syslog instructions.
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.