log :: log4perl :: layout :: patternlayout.

log :: log4perl :: layout :: patternlayout perl ¸ðµâ ÆÐÅÏ ·¹À̾ƿôÀÌ µé¾î ÀÖ½À´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

log :: log4perl :: layout :: patternlayout. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Mike Schilli
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~mschilli/X10-Home-0.03/Home.pm

log :: log4perl :: layout :: patternlayout. ű×


log :: log4perl :: layout :: patternlayout. ¼³¸í

log :: log4perl :: layout :: patternlayout perl ¸ðµâ ÆÐÅÏ ·¹À̾ƿôÀÌ µé¾î ÀÖ½À´Ï´Ù. log :: log4perl :: layout :: patternlayout perl ¸ðµâ ÆÐÅÏ ·¹À̾ƿôÀÌ µé¾î ÀÖ½À´Ï´Ù. Synopsis log :: log4perl :: layout :: patternalayout; ³» $ layout = log :: log4perl :: layout :: patternlayout-> new ( "% d (% d (% d)> % m"); http://jakarta.apache.org/¿¡ µû¶ó ÆÐÅÏ ·¹À̾ƿôÀ» »ý¼ºÇÕ´Ï´Ù. log4j / docs / api / org / apache / log4j / patternlayout.html ¹× µÎ °³ÀÇ log :: log4perl - ƯÁ¤ È®ÀåÀÚ. new () ¸Þ¼­µå´Â ·Î±× Çü½ÄÀ» ÁöÁ¤ÇÏ´Â »õ patternlayoutÀ» ÀÛ¼ºÇÕ´Ï´Ù. Çü½Ä ¹®ÀÚ¿­¿¡´Â ·Î±ë À̺¥Æ®ÀÇ % C Ä«Å×°í¸®¸¦ ±â·Ï ÇÒ ½Ã°£ÀÌÀÖÀ» ¶§ ·Î±ë ¿£ÁøÀ¸·Î ´ëü µÉ ¼öÀÖ´Â ¼ö¸¹Àº ÀÚ¸® Ç¥½ÃÀÚ¸¦ Æ÷ÇÔ ÇÒ ¼ö ÀÖ½À´Ï´Ù. % c ¿ÏÀüÇÑ ÆÐÅ°Áö (¶Ç´Â Ŭ·¡½º) yyyy / mm / dd hhÀÇ È£ÃâÀÚ % d ÇöÀç ³¯Â¥ÀÇ À̸§ : mm : ss ·Î±ë À̺¥Æ®°¡ ¹ß»ýÇÑ % h È£½ºÆ® À̸§ (sys :: hostname »ç¿ë °¡´ÉÇÑ °æ¿ì) % l ÅëÈ­ ¹æ¹ýÀÇ Á¤±ÔÈ­ µÈ À̸§°ú ¹ß½ÅÀÚ°¡ °ýÈ£ »çÀÌÀÇ ÆÄÀÏ À̸§°ú Çà ¹øÈ£¸¦ ¼Ò½ºÇÕ´Ï´Ù. % l ·Î±× ¹®ÀÌ ¹ßÇà µÈ ÆÄÀÏ ³»ÀÇ ¶óÀÎ ¹øÈ£ ·Î±ë ÇÒ % m ¸Þ¼Òµå ¶Ç´Â ·Î±ë ¿äûÀÌ ¹ßÇà µÈ % n Newline (OS-Independent) % pÀÇ ·Î±ë À̺¥Æ® % P PIDÀÇ ¿ì¼± ¼øÀ§ ÇöÀç ÇÁ·Î¼¼½º % r ÇÁ·Î±×·¥ ½ÃÀÛ¿¡¼­ °æ°ú µÈ ¹Ð¸® ÃÊ ¼ö°¡ À̺¥Æ® ½ÃÀÛ % x % x (¾Æ·¡ ÂüÁ¶) % x {key} % xÀÇ Ç׸ñ 'Å°'¶ó´Â % x {key} %% '%%' Log :: Log4Perl ¹× "MAPPED DIAGNOSTIC ÄÁÅؽºÆ® (MDC)"¿¡¼­ LOG :: LOG4PERL.THE ½Ã°£ °ªÀÇ ¼¼ºÐ¼ºÀº ½Ã°£ : : °í¿ëÀ» ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì Àüü Ãʸ¸ »ç¿ëµË´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


log :: log4perl :: layout :: patternlayout. °ü·Ã ¼ÒÇÁÆ®¿þ¾î