Interface LogEntry


@JsType(isNative=true, name="ng.LogEntry", namespace="<global>") public interface LogEntry
Structured record passed to a configured Beacon serializer.
  • Method Summary

    Modifier and Type
    Method
    Description
    static LogEntry
     
    elemental2.core.JsArray<Object>
    Arguments originally passed to the logging method.
    Logging method that produced this entry.
    ISO-8601 timestamp captured when the logging method was called.
    void
    setArgs(elemental2.core.JsArray<Object> args)
    Arguments originally passed to the logging method.
    void
    Logging method that produced this entry.
    void
    setTimestamp(String timestamp)
    ISO-8601 timestamp captured when the logging method was called.
  • Method Details

    • create

      @JsOverlay static LogEntry create()
    • getArgs

      @JsProperty elemental2.core.JsArray<Object> getArgs()
      Arguments originally passed to the logging method.
    • getLevel

      @JsProperty String getLevel()
      Logging method that produced this entry.
    • getTimestamp

      @JsProperty String getTimestamp()
      ISO-8601 timestamp captured when the logging method was called.
    • setArgs

      @JsProperty void setArgs(elemental2.core.JsArray<Object> args)
      Arguments originally passed to the logging method.
    • setLevel

      @JsProperty void setLevel(String level)
      Logging method that produced this entry.
    • setTimestamp

      @JsProperty void setTimestamp(String timestamp)
      ISO-8601 timestamp captured when the logging method was called.