// Writes a string to the defined Kettle Log.
//
// Usage:
// writeToLog(var);
// 1: String - The Message which should be written to
// the Kettle Debug Log
//
// writeToLog(var,var);
// 1: String - The Type of the Log
// d - Debug
// l - Detailed
// e - Error
// m - Minimal
// r - RowLevel
//
// 2: String - The Message which should be written to
// the Kettle Log
//
// 2006-11-21
//
writeToLog
("Hello World!");

writeToLog("r", "Hello World!");
由于不会用kettle的调试功能,所有这个writeToLog方法对我来说显得比较重要。囧...
这个方法有点怪异,在执行时,日志的显示级别要与这个函数的级别相同才能显示出来,而不是和log4j一样的把更高级的显示出来。
这样一来,不带级别的那个writeToLog(var)好像就没用了

相关文章:

  • 2021-11-16
  • 2021-10-14
  • 2022-02-25
  • 2021-09-26
  • 2021-04-16
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-29
  • 2021-10-18
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案