public class LogUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogUtil.ThrowingRunnable |
| Constructor and Description |
|---|
LogUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
catchAndLog(org.slf4j.Logger log,
LogUtil.ThrowingRunnable r) |
static void |
catchAndLog(org.slf4j.Logger log,
String msg,
LogUtil.ThrowingRunnable r) |
static void |
doWithMDC(Map<String,String> context,
Runnable r)
see https://logback.qos.ch/manual/mdc.html
|
public static void doWithMDC(Map<String,String> context, Runnable r)
public static void catchAndLog(org.slf4j.Logger log,
String msg,
LogUtil.ThrowingRunnable r)
public static void catchAndLog(org.slf4j.Logger log,
LogUtil.ThrowingRunnable r)
Copyright © 2017–2019 camunda services GmbH. All rights reserved.