Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
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 application tag.
|
void |
setAsync(boolean async) |
void |
setCharset(String charset) |
void |
setDate(boolean useDate)
set the value date
Specifies whether to log the system date.
|
void |
setException(Object exception) |
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 |
setSpoolenable(boolean async) |
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.
|
doEndTag, getParent, required, required, required, required, setPageContext, setPageContext, setParent
public Log()
public void release()
public void setLog(String log) throws ApplicationException
log
- value to setApplicationException
public void setText(String text)
text
- value to setpublic void setException(Object exception) throws PageException
PageException
public void setType(String type) throws ApplicationException
type
- value to setApplicationException
public void setTime(boolean useTime) throws ApplicationException
time
- value to setApplicationException
public void setFile(String file) throws ApplicationException
file
- value to setApplicationException
public void setDate(boolean useDate) throws ApplicationException
date
- value to setApplicationException
public void setThread(boolean thread) throws ApplicationException
thread
- value to setApplicationException
public void setApplication(boolean application)
application
- value to setpublic void setSpoolenable(boolean async)
public void setAsync(boolean async)
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
public void setCharset(String charset)
charset
- the charset to setCopyright © 2015 Lucee