Developer Function: Server Script: logs.LogInfo
## Overview
This is the "LogInfo" method of the "[logs Object](/en/manual/server-script-logs)". It displays and outputs the log in the "[Server Script](/en/manual/table-management-server-script)" with the log type: Info.
## Syntax
```
logs.LogInfo(message, method, console, syslogs)
```
## Parameters
|Parameter|Type|Required|Description|
|:----------|:----------|:---:|:---------------------------|
|message|string|Yes|Specifies the error content to be displayed and output. |
|method|string||Optional. Default is an empty string. |
|console|bool||Optional. Default is true. Specify true to display in the browser's developer tool console|
|syslogs|bool||Optional. Default is true. Specify true to output to the system log|
## Return Value
Returns true if the log can be displayed and output, or false if it cannot be displayed or output.
## Display content when displayed on the console
##### Display format
```
(Info):[Method]Message
```
|Display column|Display content|Remarks|
|:----------|:-------|:-------|
|Message|String set in message||
|Method|String set in method|If method is not specified, square brackets ([]) are not displayed either|
## Output destination column when outputting system log
|Output destination column|Output content|Remarks|
|:----------|:-------|:-------|
|Comments|String set in message||
|Method|String combined with the original string recorded in Method in the format of ":method"||
|SysLogType|10|Fixed to 10 (Info)|
## Usage example
In the example below, a record with the title "About upgrading Pleasanter" is created in the "Limited table" of site ID 2, and a log is output if it ends normally.
##### JavaScript
```
const siteId = 2;
const item = items.NewIssue();
item.Title = 'About upgrading Pleasanter';
const ret = items.Create(siteId, item);
if (ret) {
logs.LogInfo(`Record created. Record ID: ${item.IssueId}`);
}
```
## Supported Versions
|Supported versions|Body|
|:--|:--|
|1.4.12.0 or later|Added function|
## Related Information
<div id="ManualList"><ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article>
<ul><li><a href="/en/manual/server-script-logs">Developer Function: Server Script: logs</a><span>06.26.2025 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />