Package com.codeborne.selenide.logevents
Class SelenideLog
- java.lang.Object
-
- com.codeborne.selenide.logevents.SelenideLog
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.codeborne.selenide.logevents.LogEvent
LogEvent.EventStatus
-
-
Constructor Summary
Constructors Constructor Description SelenideLog(java.lang.String element, java.lang.String subject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDuration()java.lang.StringgetElement()java.lang.ThrowablegetError()LogEvent.EventStatusgetStatus()java.lang.StringgetSubject()voidsetError(java.lang.Throwable error)protected voidsetStatus(LogEvent.EventStatus status)java.lang.StringtoString()
-
-
-
Method Detail
-
getSubject
@Nonnull public java.lang.String getSubject()
- Specified by:
getSubjectin interfaceLogEvent
-
getStatus
@Nonnull public LogEvent.EventStatus getStatus()
-
setStatus
protected void setStatus(LogEvent.EventStatus status)
-
getElement
@Nonnull public java.lang.String getElement()
- Specified by:
getElementin interfaceLogEvent
-
getDuration
public long getDuration()
- Specified by:
getDurationin interfaceLogEvent
-
getError
@Nullable public java.lang.Throwable getError()
-
setError
public void setError(java.lang.Throwable error)
-
toString
@Nonnull public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-