From 9bb7aee366b04f6e8b6ea8491c0d7ebbdb304bb6 Mon Sep 17 00:00:00 2001
From: Richard Carlsson
Date: Tue, 15 Nov 2016 18:49:39 +0100
Subject: Clarify that the type for disk log data is iodata()
---
lib/kernel/doc/src/disk_log.xml | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
(limited to 'lib/kernel/doc/src')
diff --git a/lib/kernel/doc/src/disk_log.xml b/lib/kernel/doc/src/disk_log.xml
index 3c9bc7f6e8..aebeacee28 100644
--- a/lib/kernel/doc/src/disk_log.xml
+++ b/lib/kernel/doc/src/disk_log.xml
@@ -109,8 +109,7 @@
These functions log one or more Erlang terms.
By prefixing each of the functions with a b (for "binary"),
we get the corresponding blog() functions for the external format.
- These functions log one or more deep lists of bytes or, alternatively,
- binaries of deep lists of bytes.
+ These functions log one or more chunks of bytes.
For example, to log the string "hello" in ASCII format, you
can use disk_log:blog(Log, "hello"), or
disk_log:blog(Log, list_to_binary("hello")). The two
@@ -218,9 +217,6 @@
-
-
-
@@ -233,9 +229,6 @@
chunk/2,3, bchunk/2,3, or chunk_step/3.
-
-
-
@@ -953,7 +946,7 @@
written first on the log file. If the log is a wrap
log, the item Head is written first in each new file.
Head is to be a term if the format is
- internal, otherwise a deep list of bytes (or a binary).
+ internal, otherwise a sequence of bytes.
Defaults to none, which means that
no header is written first on the file.
@@ -965,7 +958,7 @@
The call M:F(A) is assumed to return {ok, Head}.
The item Head is written first in each file.
Head is to be a term if the format is
- internal, otherwise a deep list of bytes (or a binary).
+ internal, otherwise a sequence of bytes.
{mode, Mode}
--
cgit v1.2.3