前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >tss中文:LimpidLog released LimpidLog 发布了

tss中文:LimpidLog released LimpidLog 发布了

作者头像
田春峰-JCJC错别字检测
发布2019-02-14 10:08:45
3700
发布2019-02-14 10:08:45
举报

 以前翻译总用trados,太专业,而我的风格很free,又是出于乐趣,因此就放弃了trados。现在好了我有了自己的web trados了。                                                                                          题记

LimpidLog 使用 java 的 java.lang.instrument.Instrumentation 来作为 Java 代理。 当你一个类注册日志服务时,LimpidLog 使用字节代码 sidenoting 把 日志信息添加到类代码中。 然后 LimpidLog 调用 Java JVM 和日志信息来重新构造类。JVM 会重新装载类,然后当类被实例化执行的时候 日志就开始工作了。 当你取消日志注册的时候 Limpidlog 会使用类原先的字节重新定义,这时类中的日志信息将会别去掉。

LimpidLog 是一个开源的日志工具包,发布协议遵守 an LGPL license , 地址: http://www.acelet.com/limpidlog/.

外国的程序员和国内的一样也很八卦,看看 tss 的回复吧:

Re: Needs a new name!

Posted by: Wei Jiang on July 27, 2006 in response to Message #214388

I know what 'limpid' means, but a lot of people probably don't, and will read this name and go "LimpLog? hahaha!" Just saying!

I checked "Longman Dictionary of contemporary English". It is a dictionary for people who are learning English. It contains only the most used words. It does contain Limpid: "clear, transparent". By the way, the dictionary is the first English-English dictionary for me. You can see, English is not my first language.

关于 LimpidLog 的工作细节可以参考下面:

The current implementation of Java requires to load javaagent at start time. But, if you do not register any class, the price for the idle agent is: 1. Each time a class is loaded, a method will be called and returned quickly. Not much time wasted, because most of classes are loaded when the system starts. After that, loading will not happen very often. 2. LimpidLog keeps all loaded class names in memory. This piece of memory is relatively small compare to your program. The reason to keep this piece of memory is for performance. 3. The memory for LimpidLog itself is about 50K. Very small. In later releases, I will make idle agent 100% idle. If you do not use it, JVM will not call it. Only the 50K memory will be "wasted". At the time you want log, you can activate it from the GUI manager.

第一次用我自己的 tss 翻译工具,很舒服,有时间会把本文完全翻译完............

原文地址: tss中国:LimpidLog 发布了 tss中国

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2006年07月31日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Re: Needs a new name!
相关产品与服务
日志服务
日志服务(Cloud Log Service,CLS)是腾讯云提供的一站式日志服务平台,提供了从日志采集、日志存储到日志检索,图表分析、监控告警、日志投递等多项服务,协助用户通过日志来解决业务运维、服务监控、日志审计等场景问题。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档