POST api/Application/Logging/Log
Request Information
URI Parameters
None.
Body Parameters
LogModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Logger | string |
None. |
|
| Level | string |
None. |
|
| Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Logger": "sample string 1",
"Level": "sample string 2",
"Message": "sample string 3"
}
text/html
Sample:
{"Logger":"sample string 1","Level":"sample string 2","Message":"sample string 3"}
application/xml, text/xml
Sample:
<LogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gravitate.WebAPI.Areas.Application.Models"> <Level>sample string 2</Level> <Logger>sample string 1</Logger> <Message>sample string 3</Message> </LogModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />