winamp/Src/Plugins/DSP/sc_serv3/w3cLog.h
2024-09-24 14:54:57 +02:00

20 lines
669 B
C++

#pragma once
#ifndef w3cLog_H_
#define w3cLog_H_
#include "unicode/uniString.h"
#include "unicode/uniFile.h"
class w3cLog
{
public:
static void open(const uniFile::filenameType &fn, const size_t streamID = 0) throw();
static void header(FILE *w3cFileHandle) throw();
static void close(const size_t streamID) throw();
static void rotate_log(const uniFile::filenameType &fn, const size_t streamID = 0) throw();
static void log(const size_t streamID, const uniString::utf8 &ipAddr, const uniString::utf8 &hostName,
const uniString::utf8 &songName, const uniString::utf8 &userAgent, __uint64 bytesSent,
time_t timeInSeconds, const int bitrate);
};
#endif