Contents 
 Index 
 "Perl Program Reference" 
 < Previous 
 Next > 

log_html_gen.pl File Reference

Generates one or more HTML files based upon what is found in the messages.txt file that contains all of the log messages. More...

Go to the source code of this file.

Defines

Functions


Detailed Description

Generates one or more HTML files based upon what is found in the messages.txt file that contains all of the log messages.

log_html_gen.pl ../cms_middleware/doc_publish/book_cms_logging/ ../../zz_stage/bridgegroup/middleware/supptsys/messages.txt ../cms_middleware/voyant_master_nav.html "Middleware "

Author:
Glenn C. Maxey

Definition in file log_html_gen.pl.


Define Documentation

#define after   ""
 

#define before   ""
 

#define by_name   1
 

#define piece   ""
 


Function Documentation

int BEGIN  
 

Definition at line 95 of file log_html_gen.pl.

int END  
 

Definition at line 820 of file log_html_gen.pl.

int create_data_structure  
 

Creates a data structure from each line in the message file.

$name = name associated with number

globe:
:xtag_struct{
name}{severity} = severity associated with number
globe:
:xtag_struct{
name}{message} = message associated with number
globe:
:xtag_struct{
name}{comment} = comment associated with number
Limitations and Caveats:

Definition at line 424 of file log_html_gen.pl.

int generate_index  
 

$name = name associated with number

globe:
:xtag_struct{
name}{prev} = previous html file
globe:
:xtag_struct{
name}{next} = next html file
globe:
:xtag_struct{
name}{html} = associated html file
globe:
:xtag_struct{
name}{severity} = severity associated with number
globe:
:xtag_struct{
name}{message} = message associated with number
globe:
:xtag_struct{
name}{comment} = comment associated with number.

Definition at line 675 of file log_html_gen.pl.

int generate_script  
 

$name = name associated with number

globe:
:xtag_struct{
name}{prev} = previous html file
globe:
:xtag_struct{
name}{next} = next html file
globe:
:xtag_struct{
name}{html} = associated html file
globe:
:xtag_struct{
name}{severity} = severity associated with number
globe:
:xtag_struct{
name}{message} = message associated with number
globe:
:xtag_struct{
name}{comment} = comment associated with number.

Definition at line 721 of file log_html_gen.pl.

if  
 

Definition at line 467 of file log_html_gen.pl.

return  
 

int using_scheck  
 

What to do when no arguments are given.

Parameters:
None 
Returns:
None log_html_gen.pl ../cms_middleware/doc_publish/book_cms_logging/ ../../zz_stage/bridgegroup/middleware/supptsys/messages.txt ../cms_middleware/voyant_master_nav.html "Middleware "
Limitations and Caveats:
None

Definition at line 785 of file log_html_gen.pl.

int write_output_html  
 

Sorts the data structure by name and creates the html files.

Parameters:
file_out  The name of the file to output. $name = name associated with number
globe:
:xtag_struct{
name}{prev} = previous html file
globe:
:xtag_struct{
name}{next} = next html file
globe:
:xtag_struct{
name}{html} = associated html file
globe:
:xtag_struct{
name}{severity} = severity associated with number
globe:
:xtag_struct{
name}{message} = message associated with number
globe:
:xtag_struct{
name}{comment} = comment associated with number

Definition at line 506 of file log_html_gen.pl.



 "Perl Program Reference" 
 < Previous 
 Next > 



Open-Source tools compliments of Voyant Technologies, Inc. and Glenn C. Maxey.
01/13/2003

TP Tools v2-00-0a

# tpt-perl-hcr-02