leafchat.core.api
Interface SystemLog

All Superinterfaces:
Singleton

public interface SystemLog
extends Singleton

Use to log data that may be of interest in debugging or troubleshooting. You do not usually need to call these methods directly - instead, use methods of PluginContext.


Method Summary
 void log(java.lang.Object o, java.lang.String text)
          Call to log a line of text.
 void log(java.lang.Object o, java.lang.String text, java.lang.Throwable t)
          Call to log a line of text and/or exception.
 

Method Detail

log

void log(java.lang.Object o,
         java.lang.String text)
Call to log a line of text.

Parameters:
o - Object that is responsible for message (or null if none)
text - Text itself (does not need to end in \n)

log

void log(java.lang.Object o,
         java.lang.String text,
         java.lang.Throwable t)
Call to log a line of text and/or exception.

Parameters:
o - Object that is responsible for message (or null if none)
text - Text itself (does not need to end in \n; null if none)
t - Exception (null if none)


Copyright © 2011 Samuel Marshall. All rights reserved.