Releases: sndwrks/lumberjack
v0.6.0
This adds error stack logging which has been a bit annoying to not have. It also allows for Error objects to be passed without overwhelming saddness.
logger.error(new Error('test')
// used to be
undefinedlogger.error(new Error('test')
// now
'test'
stack trace :///file yeet yeet
Fix transport but and move logs to `/logs`
This fixes a url encode but with axios where it wasn't encoding the url properly. v0.5.0 includes moving the file logs to a /logs directory in the project root so that you can target a specific directory that has all the logs instead of trying to find them in the root.
v0.4.0
Add Log File Rotation
This version adds log file rotation. A future version will enable config options for the rotation. There are no breaking changes except the fact that your log files will automatically delete after 14 have been created or the file gets bigger than 10mb.
v0.3.0
This release includes some changes to the logToConsole configuration. logToConsole has been replaced from a boolean to an object. It's not breaking unless you like your logs to look pretty. This release also includes some bumps to dependencies.
This allows for new formats to print to console because pretty is kinda annoying in the cloud. There's a new google cloud option (gcp) that logs to the console in a way that google likes, and there's a new one-line json string format (string).
before:
const config = {
logToConsole: true,
};after:
const config = {
logToConsole: {
enabled: true,
type: 'pretty',
},
}v0.2.0
This release adds jest
v0.1.0
This is the first release of the package. I will be running it and fixing bugs before I will stop making breaking api changes.