[PR #50] [MERGED] Add custom logger support #50

Closed
opened 2026-05-23 08:37:26 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase-core/pull/50
Author: @appy-one
Created: 10/9/2023
Status: Merged
Merged: 12/16/2024
Merged by: @appy-one

Base: masterHead: feature/custom-logger-support


📝 Commits (3)

📊 Changes

5 files changed (+52 additions, -9 deletions)

View changed files

📝 src/acebase-base.ts (+18 -3)
📝 src/data-reference.ts (+5 -5)
📝 src/debug.ts (+10 -1)
📝 src/index.ts (+1 -0)
src/logger.ts (+18 -0)

📄 Description

This enables replacing AceBase's default logger with a logging library such as Bunyan, Winston, Pino and any other logger supporting trace, debug, info, warn, error and fatal methods.

This also adds the methods trace, debug, info and fatal to the default built-in logger.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase-core/pull/50 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 10/9/2023 **Status:** ✅ Merged **Merged:** 12/16/2024 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `feature/custom-logger-support` --- ### 📝 Commits (3) - [`64c53ec`](https://github.com/appy-one/acebase-core/commit/64c53ec7ae2e44049569774f5b9dfb4b77ca6c7c) Add custom logger support - [`5680caf`](https://github.com/appy-one/acebase-core/commit/5680cafce8d0af9aa4bed3c4de0166e9f37a9a0a) jsdoc comment correction - [`251313e`](https://github.com/appy-one/acebase-core/commit/251313e366fad2673de294bc5f0f00f53207d476) use LF eol ### 📊 Changes **5 files changed** (+52 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/acebase-base.ts` (+18 -3) 📝 `src/data-reference.ts` (+5 -5) 📝 `src/debug.ts` (+10 -1) 📝 `src/index.ts` (+1 -0) ➕ `src/logger.ts` (+18 -0) </details> ### 📄 Description This enables replacing AceBase's default logger with a logging library such as Bunyan, Winston, Pino and any other logger supporting `trace`, `debug`, `info`, `warn`, `error` and `fatal` methods. This also adds the methods `trace`, `debug`, `info` and `fatal` to the default built-in logger. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:37:26 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase-core#50
No description provided.