This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ClassWithLazyLogs implements LazyLogging { | |
public String getNormalizedName(Person person) { | |
info(() -> "getNormalizedName called"); | |
debug(() -> "Normalizing " + person.toString()); | |
String normalizedName = | |
person.getName().toUpperCase().trim(); | |
debug(() -> "Normalized name is: " + normalizedName); | |
return normalizedName; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1033edge.com | |
11mail.com | |
123.com | |
123box.net | |
123india.com | |
123mail.cl | |
123qwe.co.uk | |
150ml.com | |
15meg4free.com | |
163.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Campaign Budget Overspend Monitoring | |
* | |
* This script labels campaigns whose spend today is more than their daily | |
* budgets. Optionally, it also pauses campaigns whose spend exceeds the | |
* budget by too much. An email is then sent, listing the newly labelled | |
* and paused campaigns. | |
* When spend no longer exceeds budget, the campaigns are reactivated and | |
* labels are removed. |