Skip to content

Releases: anfema/dblogger-native

0.6.1

27 Mar 12:20
Compare
Choose a tag to compare
  • Update typescript definition

Crash fixes and running without a DB

07 Mar 17:26
Compare
Choose a tag to compare
  • Allow instanciation of logger without any DB config (use type: 'none')
  • Bugfix: Do not crash with segmentation fault if first logger to be instanciated is provided with no configuration (throws exception now)

Silence postgres notices

07 Mar 17:25
Compare
Choose a tag to compare
  • Silence the NOTICE warnings of libpq when skipping table creation on startup

Typescript improvements

07 Mar 17:25
Compare
Choose a tag to compare
  • Add type property to options in typescript definition

Initial Typescript support

07 Mar 17:25
Compare
Choose a tag to compare
  • Add TypeScript definition file 🎉

Stability improvements

07 Mar 17:24
Compare
Choose a tag to compare
  • Bugfix: If loglevel was not explicitly set the initialization of the global log level was undefined
  • Bugfix: On logfile rotation the log_to_stdout flag was lost on reinitialization
  • Postgres: Mark connection as invalid on fatal errors, try to reconnect on next log statement
  • Postgres: Set application name to <logger name> logger

stdout/stderr improvements

07 Mar 17:22
Compare
Choose a tag to compare
  • Bugfix: stdout setting will now be inherited, you can turn it off for specific loggers by only setting that option on creation

Bugfix for lost log-level

07 Mar 17:22
Compare
Choose a tag to compare
  • Bugfix: Keep configured log level and re-apply that setting to all loggers that do not override it specifically

Log rotation improvements

07 Mar 17:22
Compare
Choose a tag to compare
  • Bugfix: Log-rotation/DB-reconnect killed configured logger name

PostgreSQL support

07 Mar 17:21
Compare
Choose a tag to compare
  • Implement PostgreSQL support,
  • Bugfix: speed up logging by not failing a lot of insert statements