ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/message/TraceWriter.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/message/TraceWriter.java
Status
scanned
Type
file
Name
TraceWriter.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
1354 (1.3 KB)
MD5
4f03499cafb8f835e5100693d4787f03
SHA1
483d659a4996408aeece60c3426318a4e81fc1f6
SHA256
f140b5c4d4ad034bddd410024b33188b6268897faea053518e21db2878e518e7
SHA512

      
    
SHA1_git
45465797079bb12a0e2d603511d520c1e7698f47
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
TraceWriter.java | 1.3 KB |

/* * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.message; /** * The backend of the trace system must implement this interface. Two * implementations are supported: the (default) native trace writer * implementation that can write to a file and to system out, and an adapter * that uses SLF4J (Simple Logging Facade for Java). */ interface TraceWriter { /** * Set the name of the database or trace object. * * @param name the new name */ void setName(String name); /** * Write a message. * * @param level the trace level * @param module the name of the module * @param s the message * @param t the exception (may be null) */ void write(int level, String module, String s, Throwable t); /** * Write a message. * * @param level the trace level * @param moduleId the id of the module * @param s the message * @param t the exception (may be null) */ void write(int level, int moduleId, String s, Throwable t); /** * Check the given trace / log level is enabled. * * @param level the level * @return true if the level is enabled */ boolean isEnabled(int level); }
Detected license expression
mpl-2.0 AND epl-1.0
Detected license expression (SPDX)
MPL-2.0 AND EPL-1.0
Percentage of license text
4.97
Copyrights
- end_line: 2
  copyright: Copyright 2004-2023 H2 Group. Multiple-Licensed
  start_line: 2
Holders
- holder: H2 Group. Multiple-Licensed
  end_line: 2
  start_line: 2
Authors

      
    
License detections License expression License expression SPDX
mpl_2_0_and_epl_1_0-796bf8d7-f485-3520-923d-e6a4b1ecd2f3 mpl-2.0 AND epl-1.0 MPL-2.0 AND EPL-1.0
URL Start line End line
https://h2database.com/html/license.html 3 3
Package URL License Primary language
pkg:osgi/com.h2database.source@2.2.220