Skip to content

Releases: mowispace/react-native-logs

v 5.2.2

21 Oct 06:48
Compare
Choose a tag to compare
  • Reverting to the old merge config function

v 5.2.1

18 Oct 19:20
Compare
Choose a tag to compare
  • Minor bugfix

v 5.2.0

17 Oct 12:24
Compare
Choose a tag to compare
  • Ensures JSON.stringify print nested objects correctly (issue #97)
  • Only merge non undefined config values (pr #105 by @SYoder1)
  • Correct README for Sentry logging (pr #104 by @ssorallen)
  • Add crashlytics transport (pr #91 by @chad-aijinet)
  • Added fileNameDateType option to the file transport for selecting the date format
  • Minor bugfix

v 5.1.0

26 Jan 19:41
Compare
Choose a tag to compare
  • Ensures JSON.stringify correctly (Thanks @iago-f-s-e)
  • Added formatFunc option (Thanks @chmac)
  • Added ability to set errorLevels on sentry transport
  • Correct format function type name in default stringify func
  • Added the confg option fixedExtLvlLength, allowing for uniform extension and level lengths by adding spaces, ensuring aligned logs
  • Minor bugfix

v 5.0.1

04 Jul 15:32
Compare
Choose a tag to compare
  • Fixed fileName in fileAsyncTranport
  • In fileName now you can pass {date-today}

v 5.0.0

30 Jun 13:53
Compare
Choose a tag to compare
  • Simplified init configuration (thanks to @Harjot1Singh)
  • Added levels typing
  • Customizable stringify function
  • Transport config option now accept array of transports
  • fileAsyncTransport can be configured to create a new file everyday
  • customizable console.log function in consoleTrasport
  • Added patchConsole method
  • dateFormat now accept a custom function

v 4.0.1

17 Jan 07:27
Compare
Choose a tag to compare
  • enable() and disable() methods can now enable or disable extensions

v 4.0.0

04 Jan 21:15
Compare
Choose a tag to compare

In this new major update many of the features requested in the previous issues have been fixed, introduced or improved:

  • reversed the extension mechanism, now if they are not specified, they will all be displayed
  • added the ability to choose the colors of the levels for the consoleTransport
  • added the ability to choose the colors of extensions in consoleTransport
  • added a transport that prints logs with the native console methods (log, info, error, etc ...)
  • fixed type exports
  • minor bugfix

BREAKING CHANGES

  • from this version if no extensions are specified in the configuration then all are printed, otherwise only the specified ones
  • the colors option for the consoleTransport must now be set with the desired colors for each level (see the readme), if not set the logs will not be colored
  • removed css web color support (latest chrome versions support ansi codes)
  • enable() and disable() methods can now only enable or disable the whole logger

v 3.0.4

04 Jun 13:55
Compare
Choose a tag to compare
  • queue management to avoid race conditions problems with ExpoFS (thanks @chmac)
  • minor bugfix

v 3.0.3

12 Feb 10:59
Compare
Choose a tag to compare
  • removed EncodingType reference on fileAsyncTransport