RequestContext.log

Typed convenience over log(string, Json, string): emit a notifications/message at the given LogLevel with an arbitrary JSON payload (commonly a structured object). Forwards to the string/Json overload with the level's wire string, so the level cannot be misspelled.

  1. void log(string level, Json data, string logger)
  2. void log(LogLevel level, string message, string logger)
  3. void log(LogLevel level, Json data, string logger)
    interface RequestContext
    final @safe
    void
    log
    (,
    Json data
    ,
    string logger = null
    )