本类中包含的大多数方法都很普通,因此让我们重点关注添加新logger过滤器的方法,如清单3所示。
Most of the methods available in this class are trivial, so let's focus on the method that adds a new logger filter as shown in Listing 3.
为了添加这个参数,选择编辑器左边的新过滤器然后点击add,以创建一个空白的Init Param文件。
To add this parameter, select the new filter on the left side of the editor and click add to create a blank Init param file. Then fill in the following values.
过滤一个不同的年份或添加另一个过滤器会提供一个新的缓存上下文,此时先前的缓存可能就不可重用了。
Filtering on a different year or adding another filter would offer a new cache context at which time the previous cache may not be reusable.
应用推荐