LUAOUTPUT

Output stderr and stdout from the Lua interpreter

Platform:

OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7

Use this log to output stderr and stdout messages from the Lua interpreter.

The LUAOUTPUT log uses a short header. See Description of ASCII and Binary Logs with Short Headers for more information.

Message ID: 2240

Log Type: Asynch

Recommended Input:

LOG LUAOUTPUT ONNEW

Abbreviated ASCII Example:

<LUAOUTPUT 0 346044.929

<     1 0 STDOUT "Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio"

<LUAOUTPUT 0 346044.987

<     2 0 STDOUT "> "

Field

Field Type

Description

Format

Binary Bytes

Binary Offset

1

Log header

LUAOUTPUT header

For information about log headers, see ASCII, Abbreviated ASCII or Binary.

-

H

0

2

Sequence Number

Running number of each LUAOUTPUT log produced by the system

Ulong

4

H

3

Executor Number

Lua Executor Number that produced the data

Ulong

4

H+4

4

Data Source

See Table: Lua Data Source

Enum

4

H+8

5

Data

NULL-terminated string containing a single line of data from stderr or stdout. This string is not terminated with a carriage return or line feed.

This string contains only printable characters.

The maximum length of this string is 128 bytes.

String

Variable

H+12

Lua Data Source

Binary

ASCII

Description

0

STDOUT

Data is from stdout

1

STDERR

Data is from stderr