@@ -343,7 +343,7 @@ impl<'ink> CodeGen<'ink> {
343
343
let location = ( & unit. file ) . into ( ) ;
344
344
345
345
self . debug . finalize ( ) ;
346
- log:: debug !( "{}" , self . module. to_string( ) ) ;
346
+ log:: trace !( "{}" , self . module. to_string( ) ) ;
347
347
348
348
#[ cfg( feature = "verify" ) ]
349
349
{
@@ -382,7 +382,7 @@ impl<'ink> GeneratedModule<'ink> {
382
382
. create_module_from_ir ( buffer)
383
383
. map_err ( |it| Diagnostic :: new ( it. to_string_lossy ( ) ) . with_error_code ( "E071" ) ) ?;
384
384
385
- log:: debug !( "{}" , module. to_string( ) ) ;
385
+ log:: trace !( "{}" , module. to_string( ) ) ;
386
386
387
387
Ok ( GeneratedModule { module, location : path. into ( ) , engine : RefCell :: new ( None ) } )
388
388
}
@@ -391,7 +391,7 @@ impl<'ink> GeneratedModule<'ink> {
391
391
self . module
392
392
. link_in_module ( other. module )
393
393
. map_err ( |it| Diagnostic :: new ( it. to_string_lossy ( ) ) . with_error_code ( "E071" ) ) ?;
394
- log:: debug !( "Merged: {}" , self . module. to_string( ) ) ;
394
+ log:: trace !( "Merged: {}" , self . module. to_string( ) ) ;
395
395
396
396
Ok ( self )
397
397
}
@@ -569,8 +569,8 @@ impl<'ink> GeneratedModule<'ink> {
569
569
/// * `codegen` - The generated LLVM module to be persisted
570
570
/// * `output` - The location to save the generated ir file
571
571
pub fn persist_to_ir ( & self , output : PathBuf ) -> Result < PathBuf , Diagnostic > {
572
- log:: debug !( "Output location: {}" , output. to_string_lossy( ) ) ;
573
- log:: debug !( "{}" , self . persist_to_string( ) ) ;
572
+ log:: trace !( "Output location: {}" , output. to_string_lossy( ) ) ;
573
+ log:: trace !( "{}" , self . persist_to_string( ) ) ;
574
574
575
575
self . module
576
576
. print_to_file ( & output)
0 commit comments