|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.tag.Log
public final class Log
Writes a message to a log file.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Log()
|
Method Summary | |
---|---|
int |
doStartTag()
|
void |
release()
|
void |
setApplication(boolean application)
set the value application Specifies whether to log the application name if one has been specified in a cfapplication tag. |
void |
setCharset(String charset)
|
void |
setDate(boolean useDate)
set the value date Specifies whether to log the system date. |
void |
setFile(String file)
set the value file |
void |
setLog(String log)
set the value log If you omit the file attribute, specifies the standard log file in which to write the message. |
void |
setText(String text)
set the value text The message text to log. |
void |
setThread(boolean thread)
set the value thread Specifies whether to log the thread ID. |
void |
setTime(boolean useTime)
set the value time Specifies whether to log the system time. |
void |
setType(String type)
set the value type The type or severity of the message. |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
doEndTag, getParent, required, required, required, required, setPageContext, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TagImpl
Tag.release()
public void setLog(String log) throws ApplicationException
log
- value to set
ApplicationException
public void setText(String text)
text
- value to setpublic void setType(String type) throws ApplicationException
type
- value to set
ApplicationException
public void setTime(boolean useTime) throws ApplicationException
time
- value to set
ApplicationException
public void setFile(String file) throws ApplicationException
file
- value to set
ApplicationException
public void setDate(boolean useDate) throws ApplicationException
date
- value to set
ApplicationException
public void setThread(boolean thread) throws ApplicationException
thread
- value to set
ApplicationException
public void setApplication(boolean application)
application
- value to setpublic int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
Tag.doStartTag()
public void setCharset(String charset)
charset
- the charset to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |