Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

继续优化调整接口 #6

Merged
merged 3 commits into from
Apr 25, 2013
Merged

继续优化调整接口 #6

merged 3 commits into from
Apr 25, 2013

Conversation

asummersday
Copy link
Contributor

确认以下方案:
作为增强易用性的主日志器的名字将确定为进程名 不可更改, 但其路径 级别 显示状态仍可覆写.
对于日志器的增删等写操作不维护线程安全 之后的版本将移除锁操作.

asummersday and others added 3 commits April 24, 2013 18:59
	delete PreSetMainLogger >> CreateLogger
	append argument macro prefix LOG4Z_
	sort interface function.
zsummer added a commit that referenced this pull request Apr 25, 2013
@zsummer zsummer merged commit a951337 into zsummer:beta Apr 25, 2013
@zsummer
Copy link
Owner

zsummer commented Apr 25, 2013

第二条 日志器的增删等写操作不维护线程安全
Config, Create Logger这样的接口在log4z启动之后不应该再进行调用
如果需要多个日志记录器 或者需要配置日志文件的输出路径 那么这些操作都应该在log4z启动之前进行配置完成.

线程安全的接口在注释中已用 "thread safe." 显式注明.

@sguphil sguphil mentioned this pull request Sep 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants