// Copyright (c) 1999-2000 David Muse
// See the COPYING file for more information

#ifndef ACCESSLOG_H
#define ACCESSLOG_H

// The accesslog class provides simple logging functionality.

class accesslog {
	public:
		int	logEntry(char *site, char *interface, char *app,
					char *user, char *address,
					char *page);
	// creates a log entry in 
	// /usr/local/web/"site"/"package"/interfaces/"interface"/"app".log
	// resembling:
//  01/01/1999 12:01:30 - "app" - "interface" - "address" - "user" - "page"
	// a 1 is returned upon success and a 0 if the log file could 
	// not be opened
};

#endif