
20. High-level API Reference
YModule
module
→
log()
Adds a text message to the device logs.
js
function log(
text
)
nodejs
function log(
text
)
cpp
int log( string
text
)
m
-(int) log : (NSString*)
text
pas
function log(
text
: string): LongInt
vb
function log( ) As Integer
cs
int log( string
text
)
java
int log( String
text
)
uwp
async Task<int> log( string
text
)
py
def log(
text
)
php
function log(
$text
)
es
function log(
text
)
cmd
YModule
target
log
text
This function is useful in particular to trace the execution of HTTP callbacks. If a newline is desired after
the message, it must be included in the string.
Parameters :
text
the string to append to the logs.
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
212
www.yoctopuce.com
Summary of Contents for Yocto-GPS
Page 1: ...Yocto GPS User s guide...
Page 2: ......
Page 6: ...22 Characteristics 557 Blueprint 559 Index 561...
Page 10: ...4 www yoctopuce com...
Page 14: ...8 www yoctopuce com...
Page 18: ...12 www yoctopuce com...
Page 22: ...16 www yoctopuce com...
Page 38: ...32 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 54: ...48 www yoctopuce com...
Page 72: ...66 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 122: ...116 www yoctopuce com...
Page 132: ...126 www yoctopuce com...
Page 564: ...22 Characteristics 558 www yoctopuce com...
Page 565: ......
Page 566: ......