Skip to content

Releases: sndwrks/lumberjack

v0.6.0

12 Jul 01:02
ace78c9

Choose a tag to compare

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
undefined
logger.error(new Error('test')
// now
'test'
stack trace :///file yeet yeet

Fix transport but and move logs to `/logs`

02 Oct 22:49
6de2fb8

Choose a tag to compare

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

01 Oct 01:12
c071dd1

Choose a tag to compare

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

25 Aug 04:26
ea2287a

Choose a tag to compare

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

11 May 02:24
c0e5350

Choose a tag to compare

This release adds jest

v0.1.0

19 Mar 20:26
6e81eb8

Choose a tag to compare

This is the first release of the package. I will be running it and fixing bugs before I will stop making breaking api changes.