Puppy icon indicating copy to clipboard operation
Puppy copied to clipboard

A flexible logging library written in Swift

Results 8 Puppy issues
Sort by recently updated
recently updated
newest added

* Consider an option to keep file extension using `FileRoationLogger`.

https://github.com/sushichop/Puppy/issues/37

This PR adds optional file protection and backup exclusion to FileLogger and FileRotationLogger. To my knowledge, these features are only available on Apple platforms, so the tests I've added will...

FileRotationLogger's `log` method calls `append` with the default `writeMode` of `force`. Seeing some crashes at that point and don't see a way to adjust the writeMode.

Since FileRotationLogger.init() takes a LogLevel (Puppy) as constructor paremeter, perhaps this extension should be public? Or maybe FileRotationLogger can can take Log.Level (swift-log) as parameter instead?

https://github.com/sushichop/Puppy/blob/510741ffa55e364a991ba1243266c05a9f7a15c6/Sources/Puppy/FileRotationLogger.swift#L13 Hey, I've been implementing a nice Codable extension to some of Puppy's stuff to eliminate a bunch of boilerplate from our server-side swift project. Apparently the referenced code is...

Once the LoggingSystem has been bootstrapped, adding a Loggerable to Puppy has no effect. This means it is no longer possible to add and remove loggers to a running system....

Using Puppy in a swift-log context with multiple handlers (console and file rotation) only the first handler added to a `Puppy` instance is invoked. For example: https://github.com/sfomuseum/swift-image-emboss-grpc/blob/main/Scripts/image-emboss-grpc-server/Server.swift#L48-L73 The ordering of...