Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
56dcd929
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
56dcd929
编写于
12月 14, 2009
作者:
C
Chris Beams
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
minor usage/grammar improvements in logging section
上级
cb4bc58d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
spring-framework-reference/src/overview.xml
spring-framework-reference/src/overview.xml
+5
-5
未找到文件。
spring-framework-reference/src/overview.xml
浏览文件 @
56dcd929
...
...
@@ -765,16 +765,16 @@ TR: OK. Added to diagram.--></para>
<title>
Not Using Commons Logging
</title>
<para>
Unfortunately, the worst thing about
<code>
commons-logging
</code>
,
and what has made it unpopular with new
tools
, is also the
runtime discovery algorithm. If we could turn back
<code>
commons-logging
</code>
(
and what has made it unpopular with new
tools
) is its
runtime discovery algorithm. If we could turn back
the clock and start Spring now as a new project it would use a
different logging dependency.
Probably the first choice would
be the
different logging dependency.
The first choice would probably
be the
Simple Logging Facade for Java (
<ulink
url=
"http://www.slf4j.org"
>
SLF4J
</ulink>
), which is also used by a lot
of other tools that people use with Spring inside their
applications.
</para>
<para>
To switch
off
<code>
commons-logging
</code>
is easy: just make
<para>
Switching
off
<code>
commons-logging
</code>
is easy: just make
sure it isn't on the classpath at runtime. In Maven terms you exclude
the dependency, and because of the way that the Spring dependencies
are declared, you only have to do that once.
</para>
...
...
@@ -889,7 +889,7 @@ TR: OK. Added to diagram.--></para>
<para>
Many people use
<ulink
url=
"http://logging.apache.org/log4j"
>
Log4j
</ulink>
as a logging
framework for configuration and management purposes. It's efficient
and well
established, and in fact it's what we use at runtime when we
and well
-
established, and in fact it's what we use at runtime when we
build and test Spring. Spring also provides some utilities for
configuring and initializing Log4j, so it have an optional compile
time dependency on Log4j in some modules.
</para>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录