public final class Logger extends Object
Provides a very, very basic logging API.
| Modifiers | Name | Description |
|---|---|---|
static IO | io | |
String | name |
| Type Params | Return Type | Name and description |
|---|---|---|
public static Logger |
create(Class type) | |
public static Logger |
create(Class type, String suffix) | |
public void |
debug(Object msg) | |
public void |
debug(Object msg, Throwable cause) | |
public void |
error(Object msg) | |
public void |
error(Object msg, Throwable cause) | |
public boolean |
isDebug() | |
public boolean |
isDebugEnabled() | |
public void |
warn(Object msg) | |
public void |
warn(Object msg, Throwable cause) |
| Methods inherited from class | Name |
|---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/tools/shell/util/Logger.html