Constructor and Description |
---|
LogUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
clearLogPrefix() |
static void |
setLogInfo(BundleJobBean bBean)
Set the thread local log info with the context of the given bundle bean.
|
static void |
setLogInfo(CoordinatorActionBean action)
Set the thread local log info with the context of the given coordinator action bean.
|
static void |
setLogInfo(CoordinatorJobBean cBean)
Set the thread local log info with the context of the given coordinator bean.
|
static void |
setLogInfo(String id)
Set the thread local log info with the given id.
|
static void |
setLogInfo(WorkflowAction action) |
static void |
setLogInfo(WorkflowActionBean action)
Set the thread local log info with the context of the given action bean.
|
static void |
setLogInfo(WorkflowJobBean workflow)
Set the thread local log info with the context of the given workflow bean.
|
static XLog |
setLogInfo(XLog logObj,
String jobId,
String actionId,
String appName) |
static XLog |
setLogPrefix(XLog logObj,
Event event) |
public LogUtils()
public static void setLogInfo(CoordinatorJobBean cBean)
cBean
- coordinator bean.public static void setLogInfo(CoordinatorActionBean action)
action
- action bean.public static void setLogInfo(WorkflowJobBean workflow)
workflow
- workflow bean.public static void setLogInfo(WorkflowActionBean action)
action
- action bean.public static void setLogInfo(WorkflowAction action)
public static void setLogInfo(String id)
id
- jobId or actionIdpublic static void setLogInfo(BundleJobBean bBean)
bBean
- bundle bean.public static XLog setLogInfo(XLog logObj, String jobId, String actionId, String appName)
public static XLog setLogPrefix(XLog logObj, Event event)
public static void clearLogPrefix()
Copyright © 2018 Apache Software Foundation. All rights reserved.