Log.html 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html><head><title>Python: module Log</title>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. </head><body bgcolor="#f0f0f8">
  5. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
  6. <tr bgcolor="#7799ee">
  7. <td valign=bottom>&nbsp;<br>
  8. <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Log</strong></big></big></font></td
  9. ><td align=right valign=bottom
  10. ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:d%3A%5Cplatform%5Cplatform%5Cbackend%5Clog.py">d:\platform\platform\backend\log.py</a></font></td></tr></table>
  11. <p><tt>Log类</tt></p>
  12. <p>
  13. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  14. <tr bgcolor="#aa55cc">
  15. <td colspan=3 valign=bottom>&nbsp;<br>
  16. <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
  17. <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  18. <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="logging.html">logging</a><br>
  19. </td><td width="25%" valign=top><a href="os.html">os</a><br>
  20. </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
  21. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  22. <tr bgcolor="#ee77aa">
  23. <td colspan=3 valign=bottom>&nbsp;<br>
  24. <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
  25. <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  26. <td width="100%"><dl>
  27. <dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
  28. </font></dt><dd>
  29. <dl>
  30. <dt><font face="helvetica, arial"><a href="Log.html#Mylog">Mylog</a>
  31. </font></dt></dl>
  32. </dd>
  33. </dl>
  34. <p>
  35. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  36. <tr bgcolor="#ffc8d8">
  37. <td colspan=3 valign=bottom>&nbsp;<br>
  38. <font color="#000000" face="helvetica, arial"><a name="Mylog">class <strong>Mylog</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
  39. <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
  40. <td colspan=2><tt><a href="#Mylog">Mylog</a>(log_name='this_log',&nbsp;log_level='')<br>
  41. &nbsp;<br>
  42. <br>&nbsp;</tt></td></tr>
  43. <tr><td>&nbsp;</td>
  44. <td width="100%">Methods defined here:<br>
  45. <dl><dt><a name="Mylog-__init__"><strong>__init__</strong></a>(self, log_name='this_log', log_level='')</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>
  46. <dl><dt><a name="Mylog-get_logger"><strong>get_logger</strong></a>(self)</dt></dl>
  47. <dl><dt><a name="Mylog-set_file_hl"><strong>set_file_hl</strong></a>(self, file_name='all.log', log_level='info')</dt></dl>
  48. <dl><dt><a name="Mylog-set_stream_hl"><strong>set_stream_hl</strong></a>(self, log_level='info')</dt></dl>
  49. <hr>
  50. Data descriptors defined here:<br>
  51. <dl><dt><strong>__dict__</strong></dt>
  52. <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
  53. </dl>
  54. <dl><dt><strong>__weakref__</strong></dt>
  55. <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
  56. </dl>
  57. </td></tr></table></td></tr></table><p>
  58. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  59. <tr bgcolor="#55aa55">
  60. <td colspan=3 valign=bottom>&nbsp;<br>
  61. <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
  62. <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  63. <td width="100%"><strong>CONF_PATH</strong> = r'D:\Platform\platform\CONFIGURE\'</td></tr></table><p>
  64. <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
  65. <tr bgcolor="#7799ee">
  66. <td colspan=3 valign=bottom>&nbsp;<br>
  67. <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
  68. <tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
  69. <td width="100%">lmstack</td></tr></table>
  70. </body></html>