⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 log.h

📁 ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识
💻 H
字号:
/* * $Id: log.h 32986 2000-06-04 22:02:08Z brunsch $ * * Copyright (c) 1994, 1995.  Netscape Communications Corporation.  All * rights reserved. * * Use of this software is governed by the terms of the license agreement for * the Netscape Communications or Netscape Comemrce Server between the * parties. *//* ------------------------------------------------------------------------ *//* * log.h: Records transactions, reports errors to administrators, etc. * * Rob McCool */#ifndef LOG_H#define LOG_H#include "netsite.h"#include "base/session.h"   /* Session structure */#include "frame/req.h"      /* Request struct */#include "base/ereport.h"   /* Error reporting, degrees */#define ERROR_CUTOFF 128/* ------------------------------ Prototypes ------------------------------ *//* * log_error logs an error of the given degree from the function func * and formats the arguments with the printf() style fmt. Returns whether the * log was successful. Records the current date. * * sn and rq are optional parameters. If given, information about the client * will be reported. */int log_error(int degree, char *func, Session *sn, Request *rq,              char *fmt, ...);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -