/// <summary>
        /// Composes the specified script.
        /// </summary>
        /// <param name="script">The script.</param>
        /// <returns></returns>
        public override docScript compose(docScript script)
        {
            script.x_scopeIn(this);

            script.AppendHeading(pageTitle);
            script.Append("Log content from: ");
            script.AppendLabel(instanceID, true, "primary");
            script.AppendHorizontalLine();

            script.AppendDirect(logBuilder.ContentToString(true));

            script = base.compose(script);

            script.x_scopeOut(this);
            return(script);
        }
        public override docScript compose(docScript script = null)
        {
            if (templateNeedle.isNullOrEmpty())
            {
                script.AppendFile(includeFilePath, filename, isDataTemplate);
            }
            else
            {
                script.AppendFileTemplated(includeFilePath, templateNeedle, filename, isDataTemplate, false);
            }
            if (!caption.isNullOrEmpty())
            {
                script.AppendHeading(caption, 4);

                script.AppendLine(description);

                script.AppendLink(filename, filename, description, appendLinkType.link);
            }

            return(script);
        }