- setAWSLogsSupplier(Supplier<AWSLogs>) - Method in class com.xpcagey.logback.CloudWatchClassicAppender
-
Allows injection of an AWSLogs that is built using custom credentials.
- setEncoder(Encoder<ILoggingEvent>) - Method in class com.xpcagey.logback.CloudWatchClassicAppender
-
Sets the encoder to be used by this logging system; any encoder that is legal for an OutputStreamAppender may
also be used here.
- setGroupName(String) - Method in class com.xpcagey.logback.CloudWatchClassicAppender
-
Sets a static group name; if this group is not present an exception will be thrown during start().
- setStreamName(String) - Method in class com.xpcagey.logback.CloudWatchClassicAppender
-
Sets a static stream name; if this group is not present in the AWS account it will be manually created.
- setStreamNameSupplier(Supplier<String>) - Method in class com.xpcagey.logback.CloudWatchClassicAppender
-
Allows injection of a custom stream name creator that can use fields like IP address or EC2 instance id to
provide a unique stream name for each member of a cluster.
- start() - Method in class com.xpcagey.logback.CloudWatchClassicAppender
-
Called by Logback during startup or reset; attempts to connect to AWSLogs and either create or use a log stream.
- stop() - Method in class com.xpcagey.logback.CloudWatchClassicAppender
-
Called by Logback during reset or shutdown; safely tears down the connection to AWSLogs