@nebius/js-sdk - v0.2.54
    Preparing search index...

    Variable customJsonConst

    customJson: typeof customJson = ...

    Identifies an optional method that returns a JSON-safe logging value.

    Add this symbol method to a class when its normal properties contain secrets, circular references, or internal state that must not enter JSON logs. JSON handlers use this method before custom. If this method is absent, they use custom as a fallback.

    import { customJson } from '@nebius/js-sdk/runtime/util/logging';

    class Session {
    constructor(private token: string) {}

    [customJson]() {
    return { type: 'Session', token: '[redacted]' };
    }
    }