⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 pos机交易实现源代码 含金融卡交易8583协议实现 开发环境:linux 典型应用:嵌入系统开发 仅供参考
💻
字号:
$Id: README,v 1.1 2000/03/03 11:47:18 apr Exp $This logger example demonstrate the use of jPOS's Logger subsytem.There's a Logger object where you attach listeners. You can choosefrom various available LogListeners such as:   SimpleLogListener   (dumps all events to the specified output stream)   RotateLogListener   (writes to disk, rotating logs at given intervals)   OperatorLogListener (e-mails specific tags to a predefined address))LogEvent is a container for various log object that you can add (via its addMessage method). It has built in support forThrowables and SQLException.If the object being added implements Loggeable interface, itsdump() method will get called instead of Object.toString(). Thisallow for well formated, easily parseable Log files.(many jPOS classes such as ISOMsg implements org.jpos.util.Loggeable)This Test.java extends SimpleLogProducer and Implements Loggeable;You don't have to do so on every class, you may want to have justa couple of LogProducers (possibly for different realms) whithinyour application and have some classes implements Loggeable.The "realm" thing allows LogListeners (or logfiles post-parsers) to filter LogEvents.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -