Logging API

When creating a log entry, what unit is the timestamp? seconds or milliseconds.

Number of milliseconds since epoch (that is since Jan 1, 1970 in GMT0).

Thanks