Object

ca.bwbecker.facades.jsnlog

AjaxAppenderOptions

Related Doc: package jsnlog

Permalink

object AjaxAppenderOptions extends AjaxAppenderOptionsBuilder

Set options on an AjaxAppender.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AjaxAppenderOptions
  2. AjaxAppenderOptionsBuilder
  3. AjaxAppenderOptionsSetters
  4. AppenderOptionsSetters
  5. CommonOptionsSetters
  6. JSOptionBuilder
  7. JSOptionSetter
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def batchSize(v: Int): AjaxAppenderOptionsBuilder

    Permalink

    Allows you to improve performance by sending multiple log messages in one go, rather than one by one.

    Allows you to improve performance by sending multiple log messages in one go, rather than one by one.

    Definition Classes
    AppenderOptionsSetters
  6. def beforeSend(v: Function2[XMLHttpRequest, Any, Unit]): AjaxAppenderOptionsBuilder

    Permalink

    The beforeSend field lets you set a function that is called right before an AJAX request with log messages is sent to the server.

    The beforeSend field lets you set a function that is called right before an AJAX request with log messages is sent to the server. See http://js.jsnlog.com/Documentation/JSNLogJs/AjaxAppender/SetOptions for more details.

    Function parameters: xhr: XMLHttpRequest object used to send the request. Allows you to for example add your own request headers. json: Message to be sent. Allows you to modify this message before it is sent. See below.

    Definition Classes
    AjaxAppenderOptionsSetters
  7. def bufferSize(v: Int): AjaxAppenderOptionsBuilder

    Permalink

    Sets the size of the buffer used with sendWithBufferLevel and storeInBufferLevel.

    Sets the size of the buffer used with sendWithBufferLevel and storeInBufferLevel.

    Definition Classes
    AppenderOptionsSetters
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def copy(newDict: OptMap): AjaxAppenderOptionsBuilder

    Permalink
    Definition Classes
    AjaxAppenderOptionsBuilder → JSOptionBuilder
  10. val dict: OptMap

    Permalink
    Definition Classes
    AjaxAppenderOptionsBuilder → JSOptionBuilder
  11. def disallow(v: RegExp): AjaxAppenderOptionsBuilder

    Permalink

    If not empty, log messages are suppressed if they match this regular expression.

    If not empty, log messages are suppressed if they match this regular expression. If an object is being logged, it is converted to a JSON string, which is then matched.

    Definition Classes
    CommonOptionsSetters
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def ipRegex(v: RegExp): AjaxAppenderOptionsBuilder

    Permalink

    If not empty, log messages only get processed if this regular expression matches the IP address(es) of the sender of the request (details below).

    If not empty, log messages only get processed if this regular expression matches the IP address(es) of the sender of the request (details below). If you use this, be sure to set the IP address via the setOptions method of the JL object.

    Definition Classes
    CommonOptionsSetters
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def jsOpt(name: String, opt: Any): AjaxAppenderOptionsBuilder

    Permalink
    Attributes
    protected
    Definition Classes
    JSOptionBuilder → JSOptionSetter
  20. def level(v: Int): AjaxAppenderOptionsBuilder

    Permalink

    Numeric severity.

    Numeric severity. Only log messages with a severity equal or higher than this can be sent to the server.

    Definition Classes
    CommonOptionsSetters
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def sendWithBufferLevel(v: Int): AjaxAppenderOptionsBuilder

    Permalink

    If the severity of a log message is equal or greater than this, not only the log message but also all log messages stored in the internal buffer will be sent to the server.

    If the severity of a log message is equal or greater than this, not only the log message but also all log messages stored in the internal buffer will be sent to the server. This allows you to store low priority trace messages in the internal buffer, and only send them when a high priority fatal message is sent.

    Definition Classes
    AppenderOptionsSetters
  25. def storeInBufferLevel(v: Int): AjaxAppenderOptionsBuilder

    Permalink

    If the severity of the log message is equal or greater than this, but smaller than level, the log message will not be sent to the server, but stored in an internal buffer.

    If the severity of the log message is equal or greater than this, but smaller than level, the log message will not be sent to the server, but stored in an internal buffer. If bufferSize is 0 or less, the log message is simply ignored.

    Definition Classes
    AppenderOptionsSetters
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    JSOptionBuilder → AnyRef → Any
  28. def url(v: String): AjaxAppenderOptionsBuilder

    Permalink

    All log messages will be sent to this URL.

    All log messages will be sent to this URL.

    Definition Classes
    AjaxAppenderOptionsSetters
  29. def userAgentRegex(v: RegExp): AjaxAppenderOptionsBuilder

    Permalink

    If not empty, log messages only get processed if this regular expression matches the user agent string of the browser.

    If not empty, log messages only get processed if this regular expression matches the user agent string of the browser.

    Definition Classes
    CommonOptionsSetters
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JSOptionBuilder[AjaxAppenderOptions, AjaxAppenderOptionsBuilder]

Inherited from JSOptionSetter[AjaxAppenderOptions, AjaxAppenderOptionsBuilder]

Inherited from AnyRef

Inherited from Any

Ungrouped