You can also be more granular with your log levels, increasing verbosity only in certain features by specifying which class you want to log. These classes are
您还可以让您的日志级别更细粒度一些,仅在某些功能中通过指定想要记录的类别来增加详细程度。
Logs the class of the log message, which is helpful if you want to change the verbosity of a certain class (This option helps you determine which class you want.)
记录日志消息的类别,如果您要更改某个类的详细程度这会有所帮助(该选项帮助确定您想要的类。)
You declare introduced methods and member variables almost exactly as you would regular class members, except that you must qualify which class you declare them on (hence ValueObject.timestamp).
除了必须限定在哪个类上声明引入的方法和成员变量以外(因此是ValueObject .timestamp),声明引入的方法和成员变量几乎与声明常规类成员相同。
Which class and which grade are you in? I'm in Class Two, Grade Three.
你是哪个年级哪个班的?我是三年级二班的。
We test your English before deciding which class to put you in.
我们测验过你的英语后再决定把你分在哪一班。
The other notable line in this test is the class definition, which points to the template class, rather than one that you might create.
这个测试中另一个值得注意的行是这个类定义,它指向这个模板的类,而不是您可能创建的模板。
A window pops up, in which you can type the name of any class in your workspace (see Figure 8).
将弹出一个窗口,您可以在其中键入工作空间中的所有类的名称(参见图8)。
Asking Americans which class they belong to does not get you very far, since almost all Americans are sure that they belong to the middle.
如果问美国人他们属于哪个阶级,你不会有太多收获,因为绝大多数美国人都确信,他们属于中产阶级。
You can also create a class to manage the data object, which will contain all the information that you retrieved from the JSON file.
您还可以创建一个类来管理数据对象,这个对象包含您从JSON文件查询得到的所有信息。
Create an extension to the framework code building class, with which you can customize the generated code.
为框架代码构建类创建扩展,利用此种扩展你可以定制所产生的代码。
A list of all classes in the project's build path that match that pattern are presented in a list, from which you can select the class and package name you want to use.
将在一个列表中显示与该模式匹配的项目构建路径中的所有类,您可以从此列表中选择您希望使用的类名称和包名称。
In the case of JMS, you need to tell the system which class to use to do this transformation.
对于JMS,您需要告诉系统使用哪个类来进行此转换。
You are asked for a package into which the class can be generated.
将要求您具有可以生成类的包。
For this purpose, you use the hash class in Ruby, which allows you to create key-value pairs (in what appears to be an array), but then easily reference them later by key.
为此,您可以使用Ruby中的hash类,它允许您创建键值对(类似于数组),但是随后可以轻松地通过键引用它们。
Here is the beginning of an Editor applet class, which incorporates the code that you produced earlier.
以下是Editorapplet类的开头,它包括了您之前创建的代码。
The first is the server class, which you use to create servers; the second is the client class, which you use to create clients.
第一个是server类,您可以用它来创建服务器;第二个是client类,您可以用它来创建客户端。
For an example, see the.net Framework documentation for the CryptoStream class, which shows you how to encrypt a byte array from an incoming FileStream object.
有关示例,请参阅cryptostream类的. NETFramework文档,它说明了如何加密来自传入的FileStream对象的字节数组。
Listing 4 presents the ActionScript class contact, which you create to represent contact objects on the Flash side.
清单4展示了ActionScript类Contact,创建该类的目的在于表示flash端的联系对象。
Check the Special Pages developer's guide page (see Resources) for more information about the SpecialPage class constructor, which will let you restrict access, hide the page, etc.
有关SpecialPage类构造函数(利用它可限制访问、隐藏页面等)的更多信息,请查阅特殊页开发指南页面(参见参考资料)。
In line 14, you instantiate the Service class, which Apache Axis provides.
在第14行,实例化apacheAxis提供的Service类。
Another helpful addition to PHP V5 is the abstract class, which makes it easy to have one base class to implement the core of an interface from which you then create concrete classes.
PHPV 5中另一个有帮助的新功能是抽象类,使用抽象类可以轻松地用一个基类实现接口的核心部分,然后用该接口创建实体类。
Note that with tag-class selectors, you can add them only to the tag for which you defined the class.
注意,如果使用标记类,那么只能把这些类添加到定义的相关标记中。
In this way, you can change the concrete class later without changing the library code, which relies solely on the definition you created in the interface.
这样,日后就可以在不改变库代码的情况下修改具体的类,因为库只依赖接口中创建的定义。
Notice the Interfaces text area, in which you can enter any interface you want this class to implement.
注意在接口文本区域可以输入任何你希望该类实现的接口。
As you play with SQL data binding and add books and authors (which you should absolutely do), you can update this class to remove those entries.
利用SQL数据绑定可以添加图书和作者(绝对应该这样做),与此类似,也可通过更新类来删除这些记录。
This article presents an alternative method in which you use a single database class to wrap multiple database tables.
本文提出一个替代方法:使用单个数据库类包转多个数据库表。
Notice that you're never required to register all the public properties or methods of the class — you can choose which ones you want to expose to the container.
注意,不必要注册类的全部公共属性和方法——可以从中选择想向容器公开的那些公共属性和方法。
Select the package to which you want to move the class, then click OK.
选择需要将该类移到哪个包中,然后单击ok。
Select the package to which you want to move the class, then click OK.
选择需要将该类移到哪个包中,然后单击ok。
应用推荐