Class LogString.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LogString.Builder>
com.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
com.soulfiremc.grpc.generated.LogString.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LogStringOrBuilder, Cloneable
- Enclosing class:
LogString
public static final class LogString.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
implements LogStringOrBuilder
Represents a single log entry from the SoulFire logging system. Log entries can be associated with specific instances, bots, or scripts, or they can be personal messages directed to a specific user.Protobuf type
soulfire.v1.LogString-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The UUID of the bot account this log is associated with, if any.Human-readable name of the bot account, if available.clearId()Unique identifier for this log entry.The UUID of the instance this log is associated with, if any.Human-readable name of the instance, if available.The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").The formatted log message content.Indicates whether this is a personal message directed to a specific user.The UUID of the script this log is associated with, if any.The timestamp when this log entry was created.The UUID of the bot account this log is associated with, if any.com.google.protobuf.ByteStringThe UUID of the bot account this log is associated with, if any.Human-readable name of the bot account, if available.com.google.protobuf.ByteStringHuman-readable name of the bot account, if available.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Unique identifier for this log entry.com.google.protobuf.ByteStringUnique identifier for this log entry.The UUID of the instance this log is associated with, if any.com.google.protobuf.ByteStringThe UUID of the instance this log is associated with, if any.Human-readable name of the instance, if available.com.google.protobuf.ByteStringHuman-readable name of the instance, if available.getLevel()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").com.google.protobuf.ByteStringThe log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").com.google.protobuf.ByteStringThe name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").The formatted log message content.com.google.protobuf.ByteStringThe formatted log message content.booleanIndicates whether this is a personal message directed to a specific user.The UUID of the script this log is associated with, if any.com.google.protobuf.ByteStringThe UUID of the script this log is associated with, if any.com.google.protobuf.TimestampThe timestamp when this log entry was created.com.google.protobuf.Timestamp.BuilderThe timestamp when this log entry was created.com.google.protobuf.TimestampOrBuilderThe timestamp when this log entry was created.booleanThe UUID of the bot account this log is associated with, if any.booleanHuman-readable name of the bot account, if available.booleanThe UUID of the instance this log is associated with, if any.booleanHuman-readable name of the instance, if available.booleanhasLevel()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").booleanThe name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").booleanThe UUID of the script this log is associated with, if any.booleanThe timestamp when this log entry was created.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimestamp(com.google.protobuf.Timestamp value) The timestamp when this log entry was created.setBotAccountId(String value) The UUID of the bot account this log is associated with, if any.setBotAccountIdBytes(com.google.protobuf.ByteString value) The UUID of the bot account this log is associated with, if any.setBotAccountName(String value) Human-readable name of the bot account, if available.setBotAccountNameBytes(com.google.protobuf.ByteString value) Human-readable name of the bot account, if available.Unique identifier for this log entry.setIdBytes(com.google.protobuf.ByteString value) Unique identifier for this log entry.setInstanceId(String value) The UUID of the instance this log is associated with, if any.setInstanceIdBytes(com.google.protobuf.ByteString value) The UUID of the instance this log is associated with, if any.setInstanceName(String value) Human-readable name of the instance, if available.setInstanceNameBytes(com.google.protobuf.ByteString value) Human-readable name of the instance, if available.The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").setLevelBytes(com.google.protobuf.ByteString value) The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").setLoggerName(String value) The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").setLoggerNameBytes(com.google.protobuf.ByteString value) The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").setMessage(String value) The formatted log message content.setMessageBytes(com.google.protobuf.ByteString value) The formatted log message content.setPersonal(boolean value) Indicates whether this is a personal message directed to a specific user.setScriptId(String value) The UUID of the script this log is associated with, if any.setScriptIdBytes(com.google.protobuf.ByteString value) The UUID of the script this log is associated with, if any.setTimestamp(com.google.protobuf.Timestamp value) The timestamp when this log entry was created.setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp when this log entry was created.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogString.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LogString.Builder>
-
mergeFrom
public LogString.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogString.Builder>- Throws:
IOException
-
getId
Unique identifier for this log entry. Format is "{timestamp_millis}-{counter}" where counter is an incrementing integer to ensure uniqueness within the same millisecond.string id = 1;- Specified by:
getIdin interfaceLogStringOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique identifier for this log entry. Format is "{timestamp_millis}-{counter}" where counter is an incrementing integer to ensure uniqueness within the same millisecond.string id = 1;- Specified by:
getIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for id.
-
setId
Unique identifier for this log entry. Format is "{timestamp_millis}-{counter}" where counter is an incrementing integer to ensure uniqueness within the same millisecond.string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique identifier for this log entry. Format is "{timestamp_millis}-{counter}" where counter is an incrementing integer to ensure uniqueness within the same millisecond.string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
Unique identifier for this log entry. Format is "{timestamp_millis}-{counter}" where counter is an incrementing integer to ensure uniqueness within the same millisecond.string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getMessage
The formatted log message content. This is the fully formatted output including any Minecraft formatting codes and exception stack traces if present.
string message = 2;- Specified by:
getMessagein interfaceLogStringOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()The formatted log message content. This is the fully formatted output including any Minecraft formatting codes and exception stack traces if present.
string message = 2;- Specified by:
getMessageBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for message.
-
setMessage
The formatted log message content. This is the fully formatted output including any Minecraft formatting codes and exception stack traces if present.
string message = 2;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
The formatted log message content. This is the fully formatted output including any Minecraft formatting codes and exception stack traces if present.
string message = 2;- Returns:
- This builder for chaining.
-
setMessageBytes
The formatted log message content. This is the fully formatted output including any Minecraft formatting codes and exception stack traces if present.
string message = 2;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
hasInstanceId
public boolean hasInstanceId()The UUID of the instance this log is associated with, if any. Present when the log was generated in the context of a specific attack instance.
optional string instance_id = 3;- Specified by:
hasInstanceIdin interfaceLogStringOrBuilder- Returns:
- Whether the instanceId field is set.
-
getInstanceId
The UUID of the instance this log is associated with, if any. Present when the log was generated in the context of a specific attack instance.
optional string instance_id = 3;- Specified by:
getInstanceIdin interfaceLogStringOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The UUID of the instance this log is associated with, if any. Present when the log was generated in the context of a specific attack instance.
optional string instance_id = 3;- Specified by:
getInstanceIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The UUID of the instance this log is associated with, if any. Present when the log was generated in the context of a specific attack instance.
optional string instance_id = 3;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The UUID of the instance this log is associated with, if any. Present when the log was generated in the context of a specific attack instance.
optional string instance_id = 3;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The UUID of the instance this log is associated with, if any. Present when the log was generated in the context of a specific attack instance.
optional string instance_id = 3;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
hasBotAccountId
public boolean hasBotAccountId()The UUID of the bot account this log is associated with, if any. Present when the log was generated by or about a specific bot.
optional string bot_account_id = 4;- Specified by:
hasBotAccountIdin interfaceLogStringOrBuilder- Returns:
- Whether the botAccountId field is set.
-
getBotAccountId
The UUID of the bot account this log is associated with, if any. Present when the log was generated by or about a specific bot.
optional string bot_account_id = 4;- Specified by:
getBotAccountIdin interfaceLogStringOrBuilder- Returns:
- The botAccountId.
-
getBotAccountIdBytes
public com.google.protobuf.ByteString getBotAccountIdBytes()The UUID of the bot account this log is associated with, if any. Present when the log was generated by or about a specific bot.
optional string bot_account_id = 4;- Specified by:
getBotAccountIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for botAccountId.
-
setBotAccountId
The UUID of the bot account this log is associated with, if any. Present when the log was generated by or about a specific bot.
optional string bot_account_id = 4;- Parameters:
value- The botAccountId to set.- Returns:
- This builder for chaining.
-
clearBotAccountId
The UUID of the bot account this log is associated with, if any. Present when the log was generated by or about a specific bot.
optional string bot_account_id = 4;- Returns:
- This builder for chaining.
-
setBotAccountIdBytes
The UUID of the bot account this log is associated with, if any. Present when the log was generated by or about a specific bot.
optional string bot_account_id = 4;- Parameters:
value- The bytes for botAccountId to set.- Returns:
- This builder for chaining.
-
hasScriptId
public boolean hasScriptId()The UUID of the script this log is associated with, if any. Present when the log was generated during script execution.
optional string script_id = 5;- Specified by:
hasScriptIdin interfaceLogStringOrBuilder- Returns:
- Whether the scriptId field is set.
-
getScriptId
The UUID of the script this log is associated with, if any. Present when the log was generated during script execution.
optional string script_id = 5;- Specified by:
getScriptIdin interfaceLogStringOrBuilder- Returns:
- The scriptId.
-
getScriptIdBytes
public com.google.protobuf.ByteString getScriptIdBytes()The UUID of the script this log is associated with, if any. Present when the log was generated during script execution.
optional string script_id = 5;- Specified by:
getScriptIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for scriptId.
-
setScriptId
The UUID of the script this log is associated with, if any. Present when the log was generated during script execution.
optional string script_id = 5;- Parameters:
value- The scriptId to set.- Returns:
- This builder for chaining.
-
clearScriptId
The UUID of the script this log is associated with, if any. Present when the log was generated during script execution.
optional string script_id = 5;- Returns:
- This builder for chaining.
-
setScriptIdBytes
The UUID of the script this log is associated with, if any. Present when the log was generated during script execution.
optional string script_id = 5;- Parameters:
value- The bytes for scriptId to set.- Returns:
- This builder for chaining.
-
getPersonal
public boolean getPersonal()Indicates whether this is a personal message directed to a specific user. Personal messages are only visible to the target user and are not stored in the log history.
bool personal = 6;- Specified by:
getPersonalin interfaceLogStringOrBuilder- Returns:
- The personal.
-
setPersonal
Indicates whether this is a personal message directed to a specific user. Personal messages are only visible to the target user and are not stored in the log history.
bool personal = 6;- Parameters:
value- The personal to set.- Returns:
- This builder for chaining.
-
clearPersonal
Indicates whether this is a personal message directed to a specific user. Personal messages are only visible to the target user and are not stored in the log history.
bool personal = 6;- Returns:
- This builder for chaining.
-
hasInstanceName
public boolean hasInstanceName()Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Specified by:
hasInstanceNamein interfaceLogStringOrBuilder- Returns:
- Whether the instanceName field is set.
-
getInstanceName
Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Specified by:
getInstanceNamein interfaceLogStringOrBuilder- Returns:
- The instanceName.
-
getInstanceNameBytes
public com.google.protobuf.ByteString getInstanceNameBytes()Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Specified by:
getInstanceNameBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for instanceName.
-
setInstanceName
Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Parameters:
value- The instanceName to set.- Returns:
- This builder for chaining.
-
clearInstanceName
Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Returns:
- This builder for chaining.
-
setInstanceNameBytes
Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Parameters:
value- The bytes for instanceName to set.- Returns:
- This builder for chaining.
-
hasBotAccountName
public boolean hasBotAccountName()Human-readable name of the bot account, if available. Provided as a convenience to avoid requiring additional lookups.
optional string bot_account_name = 8;- Specified by:
hasBotAccountNamein interfaceLogStringOrBuilder- Returns:
- Whether the botAccountName field is set.
-
getBotAccountName
Human-readable name of the bot account, if available. Provided as a convenience to avoid requiring additional lookups.
optional string bot_account_name = 8;- Specified by:
getBotAccountNamein interfaceLogStringOrBuilder- Returns:
- The botAccountName.
-
getBotAccountNameBytes
public com.google.protobuf.ByteString getBotAccountNameBytes()Human-readable name of the bot account, if available. Provided as a convenience to avoid requiring additional lookups.
optional string bot_account_name = 8;- Specified by:
getBotAccountNameBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for botAccountName.
-
setBotAccountName
Human-readable name of the bot account, if available. Provided as a convenience to avoid requiring additional lookups.
optional string bot_account_name = 8;- Parameters:
value- The botAccountName to set.- Returns:
- This builder for chaining.
-
clearBotAccountName
Human-readable name of the bot account, if available. Provided as a convenience to avoid requiring additional lookups.
optional string bot_account_name = 8;- Returns:
- This builder for chaining.
-
setBotAccountNameBytes
Human-readable name of the bot account, if available. Provided as a convenience to avoid requiring additional lookups.
optional string bot_account_name = 8;- Parameters:
value- The bytes for botAccountName to set.- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9;- Specified by:
hasTimestampin interfaceLogStringOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9;- Specified by:
getTimestampin interfaceLogStringOrBuilder- Returns:
- The timestamp.
-
setTimestamp
The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9; -
setTimestamp
The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9; -
mergeTimestamp
The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9; -
clearTimestamp
The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9; -
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9; -
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9;- Specified by:
getTimestampOrBuilderin interfaceLogStringOrBuilder
-
hasLoggerName
public boolean hasLoggerName()The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass"). Useful for filtering and debugging purposes.
optional string logger_name = 10;- Specified by:
hasLoggerNamein interfaceLogStringOrBuilder- Returns:
- Whether the loggerName field is set.
-
getLoggerName
The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass"). Useful for filtering and debugging purposes.
optional string logger_name = 10;- Specified by:
getLoggerNamein interfaceLogStringOrBuilder- Returns:
- The loggerName.
-
getLoggerNameBytes
public com.google.protobuf.ByteString getLoggerNameBytes()The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass"). Useful for filtering and debugging purposes.
optional string logger_name = 10;- Specified by:
getLoggerNameBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for loggerName.
-
setLoggerName
The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass"). Useful for filtering and debugging purposes.
optional string logger_name = 10;- Parameters:
value- The loggerName to set.- Returns:
- This builder for chaining.
-
clearLoggerName
The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass"). Useful for filtering and debugging purposes.
optional string logger_name = 10;- Returns:
- This builder for chaining.
-
setLoggerNameBytes
The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass"). Useful for filtering and debugging purposes.
optional string logger_name = 10;- Parameters:
value- The bytes for loggerName to set.- Returns:
- This builder for chaining.
-
hasLevel
public boolean hasLevel()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Specified by:
hasLevelin interfaceLogStringOrBuilder- Returns:
- Whether the level field is set.
-
getLevel
The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Specified by:
getLevelin interfaceLogStringOrBuilder- Returns:
- The level.
-
getLevelBytes
public com.google.protobuf.ByteString getLevelBytes()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Specified by:
getLevelBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for level.
-
setLevel
The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Parameters:
value- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Returns:
- This builder for chaining.
-
setLevelBytes
The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Parameters:
value- The bytes for level to set.- Returns:
- This builder for chaining.
-