public final class GaleniumLoggingUtil extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Marker |
MARKER_ERROR
Deprecated.
Use Allure compatible markers or use SLF4J log level
Status.ERROR . |
static org.slf4j.Marker |
MARKER_EXTENT_REPORT
Deprecated.
Use Allure compatible markers.
|
static org.slf4j.Marker |
MARKER_FAIL
For special FAIL log status.
|
static org.slf4j.Marker |
MARKER_FATAL
Deprecated.
Use Allure compatible markers or use SLF4J log levels.
|
static org.slf4j.Marker |
MARKER_INFO
Deprecated.
Use Allure compatible markers or use SLF4J log level
Status.INFO . |
static org.slf4j.Marker |
MARKER_PASS
For special PASS log status.
|
static org.slf4j.Marker |
MARKER_SKIP
For special SKIP log status.
|
static org.slf4j.Marker |
MARKER_WARN
Deprecated.
Use Allure compatible markers or use SLF4J log level
Status.WARN . |
Modifier and Type | Method and Description |
---|---|
static org.slf4j.Logger |
getMarkedLogger(org.slf4j.Marker marker,
org.slf4j.Logger logger)
Gets a logger which marks every entry with the passed
Marker . |
static org.slf4j.Logger |
getMarkedLogger(String marker,
org.slf4j.Logger logger)
Gets a logger which marks every entry with a
Marker using the passed string. |
static org.slf4j.Marker |
getMarker(String name)
getMarker.
|
static void |
startTestLogging()
Initializes logging per test.
|
static void |
stopTestLogging()
Stops test specific logging.
|
@Deprecated public static final org.slf4j.Marker MARKER_ERROR
Status.ERROR
.@Deprecated public static final org.slf4j.Marker MARKER_EXTENT_REPORT
public static final org.slf4j.Marker MARKER_FAIL
@Deprecated public static final org.slf4j.Marker MARKER_FATAL
@Deprecated public static final org.slf4j.Marker MARKER_INFO
Status.INFO
.public static final org.slf4j.Marker MARKER_PASS
public static final org.slf4j.Marker MARKER_SKIP
@Deprecated public static final org.slf4j.Marker MARKER_WARN
Status.WARN
.public static org.slf4j.Logger getMarkedLogger(org.slf4j.Marker marker, org.slf4j.Logger logger)
Marker
.marker
- to use with this loggerlogger
- to wrap in marked loggerMarkedLogger
using the markerpublic static org.slf4j.Logger getMarkedLogger(String marker, org.slf4j.Logger logger)
Marker
using the passed string.marker
- to use with this loggerlogger
- to wrap in marked loggerMarkedLogger
using the markerpublic static org.slf4j.Marker getMarker(String name)
getMarker.
name
- marker namepublic static void startTestLogging()
public static void stopTestLogging()
Copyright © 2017–2022 wcm.io QA. All rights reserved.