twcsckernel.serverKernel.io
Interface LogWriter


public interface LogWriter

Interfejs writera logów.

Author:
VMD Group

Field Summary
static int ERROR_LOGIN_PASSWORD
           
static int ERROR_OTHER
           
static int ERROR_PLUGIN_LOADING
           
static int ERROR_UNEXPECTED_EXCEPTION
           
static int USER_KICK_LOGOUT
           
static int USER_LOGIN
           
static int USER_REMOTE_LOGOUT
           
 
Method Summary
 void writeErrorLog(java.lang.String message, int type)
          Zapisuje wiadomość do logu o błędach.
 void writeInfoLog(java.lang.String message)
           
 void writeUserLog(java.lang.String message, int type)
          Zapisuje wiadomość do logu o logowaniu/wylogowaniu.
 

Field Detail

USER_LOGIN

static final int USER_LOGIN
See Also:
Constant Field Values

USER_REMOTE_LOGOUT

static final int USER_REMOTE_LOGOUT
See Also:
Constant Field Values

USER_KICK_LOGOUT

static final int USER_KICK_LOGOUT
See Also:
Constant Field Values

ERROR_UNEXPECTED_EXCEPTION

static final int ERROR_UNEXPECTED_EXCEPTION
See Also:
Constant Field Values

ERROR_LOGIN_PASSWORD

static final int ERROR_LOGIN_PASSWORD
See Also:
Constant Field Values

ERROR_PLUGIN_LOADING

static final int ERROR_PLUGIN_LOADING
See Also:
Constant Field Values

ERROR_OTHER

static final int ERROR_OTHER
See Also:
Constant Field Values
Method Detail

writeUserLog

void writeUserLog(java.lang.String message,
                  int type)
Zapisuje wiadomość do logu o logowaniu/wylogowaniu.

Parameters:
message - - wiaodmość
type - - typ wiadomości:

writeErrorLog

void writeErrorLog(java.lang.String message,
                   int type)
Zapisuje wiadomość do logu o błędach.

Parameters:
message - - wiadomość
type -

writeInfoLog

void writeInfoLog(java.lang.String message)


Copyright © 2005-2006 CS@PUT. All Rights Reserved.