Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm coming from the JavaScript and TypeScript world and looking to build essentially an extension on top of the standard logging library similar in function to winston. We've switch to Go at work due to needs of the business and opinions of my boss about TypeScript. Any direction would be helpful in how to go about "extending" the standard library to allow logging to multiple files, and implementing different logging levels that are able to be excluded based on environment variables that are read in at runtime.
You can take a look at https://github.com/upspin/upspin/blob/master/log/log.go, which is built on top of std logger with simple to use API.