busymachines.pureharm.aws.logger

Type members

Classlikes

sealed trait AWSLogger[F[_]] extends SelfAwareStructuredLogger[F]

Logger that also logs to AWS, not only to the local machine.

Logger that also logs to AWS, not only to the local machine.

Can only be built using the AWSLoggerFactory for thread safety, and resource safety reasons

Since

09 Apr 2019

Companion
object
object AWSLogger
Companion
class
sealed trait AWSLoggerConfig extends Product with Serializable
sealed trait AWSLogging[F[_]]

Because building these amazon thingies is not thread safe, we have to build a thread safe builder

Because building these amazon thingies is not thread safe, we have to build a thread safe builder

Since

09 Apr 2019

Companion
object
object AWSLogging
Companion
class
object AWSLoggingEnabled extends SproutSub[Boolean]
object CloudWatchAccessKeyID extends SproutSub[String]
object CloudWatchGroupName extends SproutSub[String]
final case class CloudWatchLoggerConfig(timeout: CloudWatchTimeoutDuration, region: AmazonRegion, accessKeyID: CloudWatchAccessKeyID, secretAccessKey: CloudWatchSecretAccessKey, groupName: CloudWatchGroupName, streamName: CloudWatchStreamName)
Value Params
region

the amazon region of the CloudWatch you are configuring

timeout

if a log cannot be sent within this time to AWS, then timeout.

object CloudWatchSecretAccessKey extends SproutSub[String]
object CloudWatchStreamName extends SproutSub[String]
object CloudWatchTimeoutDuration extends SproutSub[FiniteDuration]
final case class EnabledAWSLoggerConfig(someCloudwatch: CloudWatchLoggerConfig) extends AWSLoggerConfig