tss中文:LimpidLog released LimpidLog 发布了

LimpidLog是一款轻量级的日志工具包,它通过Java代理技术实现在运行时动态地为Java类添加日志记录功能。当不再需要日志时,可以通过重新定义类的方法移除这些日志记录。该工具开源且遵循LGPL许可。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

以前翻译总用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中国
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值