public class RedactableArgument extends Object
Represents a logging argument which is subject to redaction.
Modifier and Type | Class and Description |
---|---|
static class |
RedactableArgument.ArgumentType
The type of the redactable argument.
|
Modifier and Type | Method and Description |
---|---|
String |
message()
The message of this redactable argument.
|
static RedactableArgument |
meta(Object message)
A redactable argument of meta data.
|
static RedactableArgument |
system(Object message)
A redactable argument of system data.
|
String |
toString() |
RedactableArgument.ArgumentType |
type()
The type of this redactable argument.
|
static RedactableArgument |
user(Object message)
A redactable argument of user data.
|
public static RedactableArgument user(Object message)
A redactable argument of user data. User data is data that is stored into Couchbase by the application user account, including:
message
- the message to redact.RedactableArgument
.public static RedactableArgument meta(Object message)
A redactable argument of meta data. Metadata is logical data needed by Couchbase to store and process User data, including:
message
- the message to redact.RedactableArgument
.public static RedactableArgument system(Object message)
A redactable argument of system data. System data is data from other parts of the system Couchbase interacts with over the network, including:
message
- the message to redact.RedactableArgument
.public RedactableArgument.ArgumentType type()
The type of this redactable argument.
public String message()
The message of this redactable argument.
Copyright © 2018 Couchbase, Inc.. All rights reserved.