<commit_before>
#include <emscripten/bind.h>

#include "libcellml/logger.h"

using namespace emscripten;


EMSCRIPTEN_BINDINGS(libcellml_logger) {

    class_<libcellml::Logger>("Logger")
        .function("addIssue", &libcellml::Logger::addIssue)
        .function("removeAllIssues", &libcellml::Logger::removeAllIssues)
        .function("error", &libcellml::Logger::error)
        .function("warning", &libcellml::Logger::warning)
        .function("hint", &libcellml::Logger::hint)
        .function("issueCount", &libcellml::Logger::issueCount)
        .function("errorCount", &libcellml::Logger::errorCount)
        .function("warningCount", &libcellml::Logger::warningCount)
        .function("hintCount", &libcellml::Logger::hintCount)
    ;
}<commit_msg>Update logger coverage to include all logger API.<commit_after>
#include <emscripten/bind.h>

#include "libcellml/logger.h"

using namespace emscripten;


EMSCRIPTEN_BINDINGS(libcellml_logger) {

    class_<libcellml::Logger>("Logger")
        .function("removeAllIssues", &libcellml::Logger::removeAllIssues)
        .function("addIssue", &libcellml::Logger::addIssue)
        .function("addIssues", &libcellml::Logger::addIssues)
        .function("issueCount", &libcellml::Logger::issueCount)
        .function("issue", &libcellml::Logger::issue)
        .function("errorCount", &libcellml::Logger::errorCount)
        .function("error", &libcellml::Logger::error)
        .function("warningCount", &libcellml::Logger::warningCount)
        .function("warning", &libcellml::Logger::warning)
        .function("hintCount", &libcellml::Logger::hintCount)
        .function("hint", &libcellml::Logger::hint)
        .function("messageCount", &libcellml::Logger::messageCount)
        .function("message", &libcellml::Logger::message)
    ;
}
{'fraction_non_alphanumeric': 0.16463414634146342, 'fraction_numerical': 0.0, 'mean_word_length': 4.841423948220065, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4209413', 'n_tokens_mistral': 562, 'n_tokens_neox': 552, 'n_words': 71}