PreviousUpNext

14.4.44  Logger

The standard library Logger api defines functionality for logging execution of Mythryl programs.

The Logger api is implemented by the logger package.

The Logger api source code is in src/lib/src/lib/thread-kit/src/lib/logger.api.

For more information see the src/A.LOGGER.OVERVIEW file in the source distribution. The above information is manually maintained and may contain errors.

api {
    make_logtree_leaf : {default:Bool, name:String, parent:Logtree_Node} -> Logtree_Node;
    enable : Logtree_Node -> Void;
    disable : Logtree_Node -> Void;
    enable_node : Logtree_Node -> Void;
    set_logger_to : Log_To -> Void;
    subtree_nodes_and_log_flags : Logtree_Node -> List(((Logtree_Node , Bool)) );
    log_if : Logtree_Node -> Int -> (Void -> String) -> Void;};


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext