log: logs are already prefixed with waku (#2603)

This commit is contained in:
fryorcraken 2025-08-27 23:32:41 +10:00 committed by GitHub
parent 0dfbcf6b6b
commit 826aedd558
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@ import type { IdentityCredential } from "./identity.js";
import { RlnMessage, toRLNSignal } from "./message.js";
import { RLNInstance } from "./rln.js";
const log = new Logger("waku:rln:encoder");
const log = new Logger("rln:encoder");
export class RLNEncoder implements IEncoder {
private readonly idSecretHash: Uint8Array;

View File

@ -21,7 +21,7 @@ import {
RLNContractInitOptions
} from "./types.js";
const log = new Logger("waku:rln:contract:base");
const log = new Logger("rln:contract:base");
export class RLNBaseContract {
public contract: ethers.Contract;

View File

@ -9,7 +9,7 @@ import { BytesUtils } from "../utils/bytes.js";
import { RLNBaseContract } from "./rln_base_contract.js";
import { RLNContractInitOptions } from "./types.js";
const log = new Logger("waku:rln:contract");
const log = new Logger("rln:contract");
export class RLNContract extends RLNBaseContract {
private instance: RLNInstance;

View File

@ -17,7 +17,7 @@ import { BytesUtils } from "./utils/bytes.js";
import { extractMetaMaskSigner } from "./utils/index.js";
import { Zerokit } from "./zerokit.js";
const log = new Logger("waku:credentials");
const log = new Logger("rln:credentials");
/**
* Manages credentials for RLN

View File

@ -27,7 +27,7 @@ import type {
Sha256Hash
} from "./types.js";
const log = new Logger("waku:rln:keystore");
const log = new Logger("rln:keystore");
type NwakuCredential = {
crypto: {

View File

@ -26,7 +26,7 @@ import * as wc from "./resources/witness_calculator";
import { WitnessCalculator } from "./resources/witness_calculator";
import { Zerokit } from "./zerokit.js";
const log = new Logger("waku:rln");
const log = new Logger("rln");
type WakuRLNEncoderOptions = WakuEncoderOptions & {
credentials: EncryptedCredentials | DecryptedCredentials;

View File

@ -2,7 +2,7 @@ import { Logger } from "@waku/utils";
const DefaultEpochUnitSeconds = 10; // the rln-relay epoch length in seconds
const log = new Logger("waku:rln:epoch");
const log = new Logger("rln:epoch");
export function dateToEpoch(
timestamp: Date,

View File

@ -38,7 +38,7 @@ import { Store } from "../store/index.js";
import { waitForRemotePeer } from "./wait_for_remote_peer.js";
const log = new Logger("waku");
const log = new Logger("sdk:waku");
type ProtocolsEnabled = {
filter?: boolean;

View File

@ -30,7 +30,7 @@ export const DEFAULT_BLOOM_FILTER_OPTIONS = {
const DEFAULT_CAUSAL_HISTORY_SIZE = 200;
const DEFAULT_POSSIBLE_ACKS_THRESHOLD = 2;
const log = new Logger("waku:sds:message-channel");
const log = new Logger("sds:message-channel");
export interface MessageChannelOptions {
causalHistorySize?: number;