1 package org.exoplatform.services.log; 2 3 7 8 15 public class LogMessage { 16 17 static public int FATAL = 0 ; 18 static public int ERROR = 1 ; 19 static public int WARN = 2 ; 20 static public int INFO = 3 ; 21 static public int DEBUG = 4 ; 22 static public int TRACE = 5 ; 23 24 private String name_ ; 25 private int type_ ; 26 private String message_ ; 27 private String detail_ ; 28 29 30 public LogMessage(String name, int type, String message, String detail) { 31 name_ = name ; 32 type_ = type ; 33 message_ = message ; 34 detail_ = detail ; 35 } 36 37 public String getName() { return name_ ; } 38 39 public int getType() { return type_ ; } 40 41 public String getMessage() { return message_ ; } 42 43 public String getDetail() { return detail_ ; } 44 45 } 46 | Popular Tags |