对于第二种类型的方法,日志框架会尽可能确定表明日志信息产生位置的文件名称和方法名称,并将这些信息添加到日志信息中。
For this second set of methods, the logging framework will make a "best effort" to determine which class and method called into the logging framework and will add this information into the LogRecord.
第二种声明,对于那些没有前缀的元素存在一个缺省名称空间。
The second one declares that there is a default namespace for those elements that lack a prefix.
对于第一种,我将使用DELPHI2005SAMPLE这样的名称,而第二种的名称为D2005SAMPLE。
For the first one, I'll use the name DELPHI2005SAMPLE, and the second one will be called D2005SAMPLE.
应用推荐