annotate src/goodjava/logging/Logger.java @ 1567:349eef23a13c

lucene named backup
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 14 Nov 2020 20:05:07 -0700
parents 219f2b937f2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1402
27efb1fcbcb5 move luan.lib to goodjava
Franklin Schmidt <fschmidt@gmail.com>
parents: 1339
diff changeset
1 package goodjava.logging;
1337
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 public interface Logger {
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 public void error(String msg);
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 public void error(String msg,Throwable t);
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 public void warn(String msg);
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 public void warn(String msg,Throwable t);
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 public void info(String msg);
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 public void info(String msg,Throwable t);
1448
6fc083e1d08c start logger
Franklin Schmidt <fschmidt@gmail.com>
parents: 1402
diff changeset
11 public boolean isInfoEnabled();
1337
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 public void debug(String msg);
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 public void debug(String msg,Throwable t);
1448
6fc083e1d08c start logger
Franklin Schmidt <fschmidt@gmail.com>
parents: 1402
diff changeset
14 public boolean isDebugEnabled();
1337
8b61c8c4e07a remove slf4j
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 }