1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_util_logging_Logger__
|
5 |
|
|
#define __java_util_logging_Logger__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class java::util::logging::Logger : public ::java::lang::Object
|
14 |
|
|
{
|
15 |
|
|
|
16 |
|
|
public: // actually protected
|
17 |
|
|
Logger(::java::lang::String *, ::java::lang::String *);
|
18 |
|
|
public:
|
19 |
|
|
static ::java::util::logging::Logger * getLogger(::java::lang::String *);
|
20 |
|
|
static ::java::util::logging::Logger * getLogger(::java::lang::String *, ::java::lang::String *);
|
21 |
|
|
static ::java::util::logging::Logger * getAnonymousLogger();
|
22 |
|
|
static ::java::util::logging::Logger * getAnonymousLogger(::java::lang::String *);
|
23 |
|
|
virtual ::java::lang::String * getResourceBundleName();
|
24 |
|
|
virtual ::java::util::ResourceBundle * getResourceBundle();
|
25 |
|
|
virtual ::java::util::logging::Level * getLevel();
|
26 |
|
|
virtual jboolean isLoggable(::java::util::logging::Level *);
|
27 |
|
|
virtual void setLevel(::java::util::logging::Level *);
|
28 |
|
|
virtual ::java::util::logging::Filter * getFilter();
|
29 |
|
|
virtual void setFilter(::java::util::logging::Filter *);
|
30 |
|
|
virtual ::java::lang::String * getName();
|
31 |
|
|
virtual void log(::java::util::logging::LogRecord *);
|
32 |
|
|
virtual void log(::java::util::logging::Level *, ::java::lang::String *);
|
33 |
|
|
virtual void log(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::Object *);
|
34 |
|
|
virtual void log(::java::util::logging::Level *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
|
35 |
|
|
virtual void log(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::Throwable *);
|
36 |
|
|
virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
37 |
|
|
virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
|
38 |
|
|
private:
|
39 |
|
|
::java::util::ResourceBundle * findResourceBundle();
|
40 |
|
|
void logImpl(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
|
41 |
|
|
public:
|
42 |
|
|
virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
|
43 |
|
|
virtual void logp(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
|
44 |
|
|
virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
45 |
|
|
virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
|
46 |
|
|
virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
|
47 |
|
|
virtual void logrb(::java::util::logging::Level *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
|
48 |
|
|
virtual void entering(::java::lang::String *, ::java::lang::String *);
|
49 |
|
|
virtual void entering(::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
|
50 |
|
|
virtual void entering(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
|
51 |
|
|
virtual void exiting(::java::lang::String *, ::java::lang::String *);
|
52 |
|
|
virtual void exiting(::java::lang::String *, ::java::lang::String *, ::java::lang::Object *);
|
53 |
|
|
virtual void throwing(::java::lang::String *, ::java::lang::String *, ::java::lang::Throwable *);
|
54 |
|
|
virtual void severe(::java::lang::String *);
|
55 |
|
|
virtual void warning(::java::lang::String *);
|
56 |
|
|
virtual void info(::java::lang::String *);
|
57 |
|
|
virtual void config(::java::lang::String *);
|
58 |
|
|
virtual void fine(::java::lang::String *);
|
59 |
|
|
virtual void finer(::java::lang::String *);
|
60 |
|
|
virtual void finest(::java::lang::String *);
|
61 |
|
|
virtual void addHandler(::java::util::logging::Handler *);
|
62 |
|
|
virtual void removeHandler(::java::util::logging::Handler *);
|
63 |
|
|
virtual JArray< ::java::util::logging::Handler * > * getHandlers();
|
64 |
|
|
virtual jboolean getUseParentHandlers();
|
65 |
|
|
virtual void setUseParentHandlers(jboolean);
|
66 |
|
|
virtual ::java::util::logging::Logger * getParent();
|
67 |
|
|
virtual void setParent(::java::util::logging::Logger *);
|
68 |
|
|
private:
|
69 |
|
|
::java::lang::StackTraceElement * getCallerStackFrame();
|
70 |
|
|
public: // actually package-private
|
71 |
|
|
virtual void resetLogger();
|
72 |
|
|
static ::java::util::logging::Logger * root;
|
73 |
|
|
public:
|
74 |
|
|
static ::java::util::logging::Logger * global;
|
75 |
|
|
private:
|
76 |
|
|
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
|
77 |
|
|
::java::lang::String * resourceBundleName;
|
78 |
|
|
::java::util::ResourceBundle * resourceBundle;
|
79 |
|
|
::java::util::logging::Filter * filter;
|
80 |
|
|
::java::util::List * handlerList;
|
81 |
|
|
JArray< ::java::util::logging::Handler * > * handlers;
|
82 |
|
|
jboolean anonymous;
|
83 |
|
|
jboolean useParentHandlers;
|
84 |
|
|
::java::util::logging::Level * level;
|
85 |
|
|
::java::util::logging::Logger * parent;
|
86 |
|
|
public:
|
87 |
|
|
static ::java::lang::Class class$;
|
88 |
|
|
};
|
89 |
|
|
|
90 |
|
|
#endif // __java_util_logging_Logger__
|