More options for the ASCII writer.

# The prefix for the header line if included.
	const header_prefix = "# " &redef;

	# The string to use for empty string fields.
	const empty_field = "" &redef;

	# The string to use for an unset optional field.
	const unset_field = "-" &redef;
This commit is contained in:
Robin Sommer 2011-03-09 16:52:46 -08:00
parent cb9e0a5d5a
commit b69ecff3ee
7 changed files with 95 additions and 8 deletions

View file

@ -66,6 +66,9 @@ function Log::__flush%(id: Log::ID%): bool
module LogAscii;
const output_to_stdout: bool;
const separator: string;
const include_header: bool;
const header_prefix: string;
const separator: string;
const empty_field: string;
const unset_field: string;