summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/org/slf4j/impl/StaticMDCBinder.kt
blob: f20628d71926f4ba60a0448ecf9b6fe0aa526fde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: GPL-3.0-only
 */

@file:Suppress("Unused")

package org.slf4j.impl

import org.slf4j.helpers.BasicMDCAdapter
import org.slf4j.spi.MDCAdapter

class StaticMDCBinder {

  fun getMDCA(): MDCAdapter {
    return BasicMDCAdapter()
  }

  fun getMDCAdapterClassStr(): String? {
    return BasicMDCAdapter::class.java.name
  }

  companion object {
    @JvmStatic val singleton = StaticMDCBinder()
  }
}