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

📄 logevent.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE><A NAME="getPriority()"><!-- --></A><H3>getPriority</H3><PRE>public final <A HREF="../../../../org/jivesoftware/util/log/Priority.html" title="class in org.jivesoftware.util.log">Priority</A> <B>getPriority</B>()</PRE><DL><DD>Get Priority for LogEvent.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the LogEvent Priority</DL></DD></DL><HR><A NAME="setPriority(org.jivesoftware.util.log.Priority)"><!-- --></A><H3>setPriority</H3><PRE>public final void <B>setPriority</B>(<A HREF="../../../../org/jivesoftware/util/log/Priority.html" title="class in org.jivesoftware.util.log">Priority</A>&nbsp;priority)</PRE><DL><DD>Set the priority of LogEvent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>priority</CODE> - the new LogEvent priority</DL></DD></DL><HR><A NAME="getContextMap()"><!-- --></A><H3>getContextMap</H3><PRE>public final <A HREF="../../../../org/jivesoftware/util/log/ContextMap.html" title="class in org.jivesoftware.util.log">ContextMap</A> <B>getContextMap</B>()</PRE><DL><DD>Get ContextMap associated with LogEvent<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ContextMap</DL></DD></DL><HR><A NAME="setContextMap(org.jivesoftware.util.log.ContextMap)"><!-- --></A><H3>setContextMap</H3><PRE>public final void <B>setContextMap</B>(<A HREF="../../../../org/jivesoftware/util/log/ContextMap.html" title="class in org.jivesoftware.util.log">ContextMap</A>&nbsp;contextMap)</PRE><DL><DD>Set the ContextMap for this LogEvent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>contextMap</CODE> - the context map</DL></DD></DL><HR><A NAME="getCategory()"><!-- --></A><H3>getCategory</H3><PRE>public final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getCategory</B>()</PRE><DL><DD>Get the category that LogEvent relates to.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name of category</DL></DD></DL><HR><A NAME="getMessage()"><!-- --></A><H3>getMessage</H3><PRE>public final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE><DL><DD>Get the message associated with event.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the message</DL></DD></DL><HR><A NAME="getThrowable()"><!-- --></A><H3>getThrowable</H3><PRE>public final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>getThrowable</B>()</PRE><DL><DD>Get throwabe instance associated with event.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Throwable</DL></DD></DL><HR><A NAME="getTime()"><!-- --></A><H3>getTime</H3><PRE>public final long <B>getTime</B>()</PRE><DL><DD>Get the absolute time of the log event.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the absolute time</DL></DD></DL><HR><A NAME="getRelativeTime()"><!-- --></A><H3>getRelativeTime</H3><PRE>public final long <B>getRelativeTime</B>()</PRE><DL><DD>Get the time of the log event relative to start of application.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the time</DL></DD></DL><HR><A NAME="setCategory(java.lang.String)"><!-- --></A><H3>setCategory</H3><PRE>public final void <B>setCategory</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;category)</PRE><DL><DD>Set the LogEvent category.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>category</CODE> - the category</DL></DD></DL><HR><A NAME="setMessage(java.lang.String)"><!-- --></A><H3>setMessage</H3><PRE>public final void <B>setMessage</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message)</PRE><DL><DD>Set the message for LogEvent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - the message</DL></DD></DL><HR><A NAME="setThrowable(java.lang.Throwable)"><!-- --></A><H3>setThrowable</H3><PRE>public final void <B>setThrowable</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A>&nbsp;throwable)</PRE><DL><DD>Set the throwable for LogEvent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>throwable</CODE> - the instance of Throwable</DL></DD></DL><HR><A NAME="setTime(long)"><!-- --></A><H3>setTime</H3><PRE>public final void <B>setTime</B>(long&nbsp;time)</PRE><DL><DD>Set the absolute time of LogEvent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - the time</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/jivesoftware/util/log/Hierarchy.html" title="class in org.jivesoftware.util.log"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jivesoftware/util/log/Logger.html" title="class in org.jivesoftware.util.log"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/jivesoftware/util/log/LogEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="LogEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &copy; 2003-2008 Jive Software.</i></BODY></HTML>

⌨️ 快捷键说明

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