|
|
(4 intermediate revisions by 2 users not shown) |
Line 7: |
Line 7: |
|
| |
|
| |usage= | | |usage= |
| <source lang="mtmacro" line> | | <syntaxhighlight lang="mtmacro" line> |
| log.getLoggers() | | log.getLoggers() |
| </source> | | </syntaxhighlight> |
| '''Parameters''' | | '''Parameters''' |
| None. | | None. |
|
| |
|
| |example= | | |example= |
| This example doesn't really do anything.
| | Get a list of available loggers and format the JSON result. |
| <source lang="mtmacro" line> | | <syntaxhighlight lang="mtmacro" line> |
| <pre>[r: json.indent(log.getLoggers())]</pre> | | <pre>[r: json.indent(log.getLoggers())]</pre> |
| </source> | | </syntaxhighlight> |
| Returns: | | Returns: |
| <source lang="javascript" line> | | <syntaxhighlight lang="javascript" line> |
|
| |
|
| [ | | [ |
| {
| |
| "name": "net.rptools.lib.io.PackedFile",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.swing.AbeillePanel",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.model.Grid",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.token.BarTokenOverlay",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.tokenpanel.InitiativeTransferHandler",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.swing.AppHomeDiskSpaceStatusBar",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.AutoSaveManager",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.MapToolVariableResolver",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.TransferableHelper",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ChatAutoSave",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.zone.ZoneView",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.chat.SmileyChatTranslationRuleGroup",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.syntax.MapToolScriptSyntax",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.AppState",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.AppPreferences",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.model.AssetManager",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.swing.ImageCacheStatusBar",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.token.ImageAssetPanel",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.model.AssetLoader",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.chat.RegularExpressionTranslationRule",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.model.Zone",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.zone.ZoneRenderer",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.language.I18N",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.syntax.MapToolScriptAutoComplete",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.swing.AssetCacheStatusBar",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.AppSetup",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.functions.Base64Functions",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.model.MacroButtonProperties",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.functions.LogFunctions",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.AppUpdate",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.swing.ImageLoaderCache",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.macrobuttons.panels.SelectionPanel",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.MapTool",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.model.InitiativeList",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.tool.drawing.UndoPerZone",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.assetpanel.ImageFileImagePanelModel",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.zone.PartitionedDrawableRenderer",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.macro.MacroManager",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.MapToolDockListener",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.swing.MapToolEventQueue",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.functions.MacroLinkFunction",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.server.MapToolServer",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.functions.TokenMoveFunctions",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.AppUtil",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.AppActions",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.util.ImageManager",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.MapToolLineParser",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.ui.MapToolFrame",
| |
| "level": "ERROR"
| |
| },
| |
| { | | { |
| "name": "macro-logger", | | "name": "macro-logger", |
Line 219: |
Line 27: |
| }, | | }, |
| { | | { |
| "name": "net.rptools.lib.FileUtil", | | "name": "net.rptools.lib.io.PackedFile", |
| "level": "ERROR" | | "level": "ERROR" |
| }, | | }, |
| { | | { |
| "name": "net.rptools.maptool.util.PersistenceUtil", | | "name": "net.rptools.maptool.client.swing.AbeillePanel", |
| "level": "ERROR" | | "level": "ERROR" |
| }, | | }, |
| {
| | ... |
| "name": "net.rptools.maptool.client.ui.lookuptable.LookupTableImagePanelModel",
| |
| "level": "ERROR"
| |
| }, | |
| {
| |
| "name": "net.rptools.maptool.client.AssetURLStreamHandler",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.server.MapToolServerConnection",
| |
| "level": "ERROR"
| |
| },
| |
| {
| |
| "name": "net.rptools.maptool.client.tool.PointerTool",
| |
| "level": "ERROR"
| |
| }
| |
| ] | | ] |
| </source> | | </syntaxhighlight> |
|
| |
|
| |also= | | |also= |