-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dmitrii Ponomarev edited this page Nov 12, 2018
·
20 revisions
- When you don't want to have additional code running in runtime. Prepare everything in compile time;
- When you want to have possibility to switch to the next logging framework, or build you code without logging at all, or leave only INFO and ERROR commands without changinh the code; (now Slf4j is supported)
- When you want to have a standard (but in the same time flexible configured) logging messages;
- Have lazy loggers (created only when them really needed);
- Be able to implement own logger and logging commands and inject it in your code in compile time; (coming)
- Log context when it needed, MDC (Mapped Diagnostic Context); (coming)
- Be compatible with others tools, like Lombok, Dagger2 etc; (Lombok is done)
- Have configurable strategies for logging collections in human readable way; (coming)
- Use condition for managing the logging logic; (coming)
- Cascade config files. Now you can put loguno.properties to the package and settings apply to the classes in this package and below.
- Remove reflection lib. It slow down start time and rise issue in Java 9.
- Change visitor. Low level visitor visits all JCTree elements.
- Support lombok onMethod. Now the following construction works:
@lombok.NoArgsConstructor(onConstructor_ = @Loguno)
@lombok.Getter(onMethod_ = {@Loguno, @Loguno.TRACE})
@lombok.Setter(onMethod_ = {@Loguno, @Loguno.TRACE})
public class Makaka extends Animal {