aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/logging.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/taler-util/src/logging.ts b/packages/taler-util/src/logging.ts
index 532174fd6..0037d95a3 100644
--- a/packages/taler-util/src/logging.ts
+++ b/packages/taler-util/src/logging.ts
@@ -56,6 +56,21 @@ function writeNodeLog(
export class Logger {
constructor(private tag: string) {}
+ shouldLogTrace() {
+ // FIXME: Implement logic to check loglevel
+ return true;
+ }
+
+ shouldLogInfo() {
+ // FIXME: Implement logic to check loglevel
+ return true;
+ }
+
+ shouldLogWarn() {
+ // FIXME: Implement logic to check loglevel
+ return true;
+ }
+
info(message: string, ...args: any[]): void {
if (isNode) {
writeNodeLog(message, this.tag, "INFO", args);